When to use
Use it to plan the portfolio’s work:list for each client’s tax obligations and what blocks them, payroll for this month’s payroll of every client that employs someone. Then work one client with its tools and client.
Input
Actions
The tool’s schema combines the fields of every action. Each action accepts only its own fields below; sendaction with them.
Read actions
These actions only read. They change nothing.list
list
Read actual portfolio tax obligations, incomplete profiles and evidence-derived states. No drafts are invented. client narrows it to one client; a portfolio longer than the limit answers its first rows with truncated, total and a notice.
payroll
payroll
This month’s payroll (month, YYYY-MM, as of today in Spain) of every client the person works that employs someone this month, has this month’s payroll or an earlier one in draft, or owes the TGSS last month’s liquidation, as the console’s Nóminas lists it: each client’s workspace_id (the client every payroll call takes), client_name, employees (this month’s), drafts_before (earlier months still in draft), pay_date (the day this month is paid, YYYY-MM-DD: its run’s, else the one the client’s agreed pay_day gives, empty when neither says; calculate the nearest first), run (null while nobody calculated the month, else its id, period, pay_date, status, issues and totals) and social_security (last month’s liquidation, due this month, or null: its run_id and run_status, due in the Régimen General and terms: presentation, direct_debit and payment). Melso does not know what was presented or paid in SILTRA. Read a client’s month with payroll run. In Melso’s chat, a client whose agent the firm switched off refuses it.
Output
list returns the portfolio’s tax obligations, incomplete profiles and their states from the clients’ records, or one client’s with client; a period without a draft is a reminder, never an invented return. payroll returns this month’s payroll of each employer client: workspace_id (the client every payroll call takes), client_name, employees, drafts_before, pay_date, run and social_security (last month’s liquidation due now, or null).
The result uses MCP content blocks; JSON payloads are encoded in text and may also appear in structuredContent. Check isError before reading a success payload. When the server declares an outputSchema, it is reproduced below. Check the action result and its declared fields before reporting success.
Example
See what the portfolio has due, then this month’s payroll. These are thearguments of each call, in order.
1
Read the obligations
2
Read this month's payroll of every employer client