{"serverId":"mcp-registry/io.github.seolith-llc/foxyinvoice","tools":[{"name":"create_client","fixed":{"name":"create_client","description":"Create a client so invoices can be billed to them. Returns the new client with its id. Name is required; email is needed later for send_invoice.","inputSchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":200},"email":{"type":"string"},"phone":{"type":"string"},"taxId":{"type":"string"},"taxExempt":{"type":"boolean"},"billingAddress":{"type":"string"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":122,"tokensAfter":122},{"name":"create_invoice","fixed":{"name":"create_invoice","description":"Create a DRAFT invoice for a client; the server assigns the number (INV-YYYY-NNNN), computes taxes from the client's jurisdiction and rounds per invoice rules — never state amounts yourself. Lines need description, qty and unitPrice (decimal). Due date defaults to 14 days from today. Pass a stable requestId when retrying: the same requestId returns the same invoice instead of creating a duplicate. Use send_invoice to email it — do NOT send without the user's confirmation.","inputSchema":{"type":"object","required":["clientId","lines"],"properties":{"lines":{"type":"array","items":{"type":"object","required":["description","qty","unitPrice"],"properties":{"qty":{"type":"number"},"productId":{"type":"string","format":"uuid"},"unitPrice":{"type":"number","description":"Unit price in USD"},"description":{"type":"string"},"discountPct":{"type":"number","description":"Line discount, percent"},"taxJurisdictionId":{"type":"string","format":"uuid"}}},"minItems":1},"notes":{"type":"string"},"dueDate":{"type":"string","format":"date","description":"Defaults to today + dueInDays"},"clientId":{"type":"string","format":"uuid"},"dueInDays":{"type":"integer","default":14,"maximum":365,"minimum":0},"issueDate":{"type":"string","format":"date","description":"Defaults to today"},"requestId":{"type":"string","format":"uuid","description":"Idempotency key"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":390,"tokensAfter":390},{"name":"get_invoice","fixed":{"name":"get_invoice","description":"Fetch one invoice with all lines and computed totals (server-side tax math included).","inputSchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":64,"tokensAfter":64},{"name":"list_clients","fixed":{"name":"list_clients","description":"Search the workspace's clients by name or email. Returns id, name, email, billing address. Use this to find a clientId before creating an invoice.","inputSchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"search":{"type":"string","description":"Case-insensitive match on name or email"},"pageSize":{"type":"integer","maximum":100,"minimum":1}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":114,"tokensAfter":114},{"name":"list_documents","fixed":{"name":"list_documents","description":"List the workspace's client documents (agreements, NDAs, terms)              with their acceptance status. Filter by clientId.","inputSchema":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid"}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":73,"tokensAfter":73},{"name":"list_invoices","fixed":{"name":"list_invoices","description":"List invoices, newest first. Filter by status (Draft, Sent, Paid, Overdue, Void) and/or clientId.","inputSchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"status":{"enum":["Draft","Sent","Paid","Partial","Overdue","Void"],"type":"string"},"clientId":{"type":"string","format":"uuid"},"pageSize":{"type":"integer","maximum":100,"minimum":1}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":114,"tokensAfter":114},{"name":"list_products","fixed":{"name":"list_products","description":"List the workspace's catalog products (id, sku, name, unit price). A product's id can be attached to an invoice line; otherwise lines stand alone.","inputSchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"pageSize":{"type":"integer","maximum":100,"minimum":1}}},"annotations":{"readOnlyHint":true}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":92,"tokensAfter":92},{"name":"send_document","fixed":{"name":"send_document","description":"Email a Draft document (agreement/NDA/terms) to its client for              electronic acceptance — the client reviews it, types their name, and the              acceptance is archived with a certificate. CONFIRM with the user before              calling — this emails a real person.","inputSchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":119,"tokensAfter":119},{"name":"send_invoice","fixed":{"name":"send_invoice","description":"Email a Draft/Sent/Overdue invoice to its client (requires the client to have an email; counts against the monthly send quota). CONFIRM with the user before calling — this emails a real person.","inputSchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid"}}},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false}},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: false, destructiveHint: false, idempotentHint: false (inferred from the name).","verify":true}],"tokensBefore":94,"tokensAfter":94}],"toolsChanged":9,"tokensSaved":0,"todo":[{"tool":"create_client","params":["name","email","phone","taxId","taxExempt","billingAddress"]},{"tool":"create_invoice","params":["lines","notes","clientId","dueInDays"]},{"tool":"get_invoice","params":["id"]},{"tool":"list_clients","params":["page","pageSize"]},{"tool":"list_documents","params":["clientId"]},{"tool":"list_invoices","params":["page","status","clientId","pageSize"]},{"tool":"list_products","params":["page","pageSize"]},{"tool":"send_document","params":["id"]},{"tool":"send_invoice","params":["id"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}