calendar, get, list.
The live tool list is authoritative: the company’s plan and your role can narrow this contract. Understand access.
When to use
Use it to answer “what is due and when” (calendar), to read and explain a calculated return (list, get) and to give the owner the page where they authorize the exact version (request_approval). aeat_file returns the import file for a 303, 130, 111 or 115. Nothing here approves, files or pays.
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.aeat_file
aeat_file
Returns content_base64 for the 303, 130, 111 or 115 import file, the 190 or 180 for TGVI online, or the F69 or 130 for the Hacienda Foral de Navarra. The 190 uses the caller as contact and returns 409 contact_missing without a verified Spanish phone or 409 perceptor_data_missing when a record lacks data. If the 180 returns 409 aeat_file_missing_facts, open the return in Impuestos to see the missing data and add the landlord’s premises. Write the decoded bytes unchanged (ISO-8859-1) under filename. Share approval_url so a member of the company authorizes the exact version in the web app for Melso’s professionals to review and file under the required authority. Melso’s professionals complete the filing and register the actual receipt.
calendar
calendar
What the company files and when: each form due from its fiscal profile and records, with its deadline, the last day to pay by direct debit, whether Melso calculates it (filing_id links the return) or only reminds, and its status. While a return’s period runs and before its window opens, estimate is what it comes to with the records so far (EUR, null otherwise): an estimate, not the return. Past deadlines appear while unfiled. The person marks a reminder filed at taxes_url.
get
get
One calculated return with its boxes, the lines of an informative return, review codes and whether an AEAT import file exists. Use it to explain a figure to the person. An estimate (is_preview) has only its amount.
list
list
The returns Melso calculated, newest first: model, period, status (draft, reviewed, approved, filed), amount (negative to compensate or refund), deadlines and what to check before filing. Drafts are recalculated from the records while their window is open. is_preview true marks an estimate (id preview:<model>:<period>) for a company without an active Pro or Plus tax service: no boxes, approval page or AEAT file.
request_approval
request_approval
Answer the authenticated web link where a member of the company reviews the exact calculated return and authorizes its version. This starts a case for Melso’s professionals to review and file with Hacienda under the required authority. An unchanged authorized version proceeds; a changed draft needs new approval. Filing is complete only with the actual external reference and receipt. Share approval_url; no agent tool approves, files or pays a return. An estimate (is_preview) has no approval page: it answers approval_required false and no link; say it is an estimate.
Output
calendar returns the forms due with their deadlines and status. list and get return the returns Melso calculated, including their boxes and review codes. request_approval returns the signed-in web page where the owner authorizes the exact version. aeat_file returns the AEAT import file as content_base64. None of these approves, files or pays a return.
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.
Declared output schema
Example
Answer “what is due this quarter?”, explain one return and give the owner its approval page. These are thearguments of each call, in order.
1
Read the calendar
2
Read one calculated return
3
Get the page where the owner authorizes it