Skip to main content
Open and follow the company’s cases. A draft needs no plan; submit sends it when asked. update changes an unpaid S.L. incorporation. A one-off kind or a kind outside the plan returns payment_required with the owner’s payment_url. answer covers every item of the open request. verify_identity returns a partner’s identity link: never ask for ID photos. cancel only after the person confirms. No action files a return or pays. Actions (* required): create(kind*, details*, attachment_ids, note, submit); update(id*, details*); submit/cancel(id*); message(idempotency_key*, attachment_ids, changes, content, id); answer(id*, request_id*, answers*); verify_identity(id*, partner*, language); upload(filename*, content_type*, size_bytes*); upload_complete(file, upload_id). Availability: Self-employed / Company. Manual-assisted: Melso’s professionals register the self-employed person, prepare the renta or incorporate the S.L. No action files or pays by itself. The live tool list is authoritative: the company’s plan and your role can narrow this contract. Understand access.

When to use

Use gestiones for answer, cancel, create, message, submit, update, upload, upload_complete, verify_identity. Use gestiones_read for the companion actions. The live tool list determines availability.

Input

Actions

The tool’s schema combines the fields of every action. Each action accepts only its own fields below; send action with them.

Case actions

These actions save, send or withdraw a case, or exchange messages and documents with Melso’s professionals. A draft needs no plan; sending a case needs a plan that covers it or, for a kind sold once, the owner’s payment in the web app. None approves a version, files or pays.
Answer every item in the case’s open information request and send it back to review. Read get first for request_id and item IDs; document items need an attachment and questions need an answer.
Withdraw a submitted case that Melso has not filed, after the person confirms. Preserves its conversation and documents. A linked authorized tax return goes back to draft and needs web authorization again.
Save a case draft of a kind from kinds, with details that match its details_schema; a refused field is named in the error. submit=true sends a plan kind when the tax service covers it; otherwise it stays a draft and, for an autónomo, the answer carries payment_required with payment_url, Billing in the web app, where the owner chooses a plan. A service kind is sent once the owner pays: its draft carries that payment_url. Incorporating an S.L. (constitucion_sl) asked from a company that is not in incorporation opens the S.L.’s own company and saves the draft there, returning that company and its payment_url. In Melso’s chat payment_url is the chat’s link to pay the case with no sign-in, which never expires, and case_url its page in the web app. For a person without an email the answer carries sign_in_required: they sign in to the web app only with a personal link from Melso’s chat, never with a new email address, which opens a separate account. This never accepts or approves a calculated return: use taxes request_approval for its web authorization. After an uncertain response, read list before creating again.
Send the person’s message or documents about a submitted case to Melso’s professionals, with its id. Without id it writes to Melso in the person’s chat, as from their AI: Melso’s agent answers there at once and passes on to Melso’s team what needs a person; read the answer with chat_read. Reuse idempotency_key only for retries. changes=true, with a case id, requests changes to a version awaiting approval and returns the case to review.
Send a saved draft to Melso when the person asked. A plan kind requires a plan covering the tax service: without one it stays a draft, and for an autónomo returns payment_required with payment_url, Billing in the web app, where the owner chooses a plan; then submit again. A service kind is not sent here: it returns payment_required with the payment_url where the owner pays in the web app, after which Melso receives it. sign_in_required works as in create. Never approves a tax version or pays.
Change an S.L.’s incorporation (constitucion_sl) while it is an unpaid draft, when the person asks: its names and their order, its capital, its activity, its partners or its management. details holds only the fields that change, as details_schema in kinds describes them: each replaces the saved field whole (names with every name, the person’s first choice first; partners with every partner), null removes one, and the rest stay as saved. It saves as the web form does, with the same checks, and the company takes the new first name. Once it is paid, what was decided before paying changes through the case’s conversation: message with its id.
Reserve a local PDF or image of at most 15 MB: PUT its exact bytes to upload_url with the returned headers, then call upload_complete. In ChatGPT, give upload_complete the file the person attached as file instead. Without file upload capability, share web_upload_url so the person provides it in Gestiones.
Finalize a file PUT through upload, or in ChatGPT keep a PDF or image the person attached (file), and return its attachment ID for create, message or answer. Give upload_id or file. Checks the exact size, uploader and current company membership; does not send it to a case yet.
Return a person partner’s own link to verify their identity for a paid S.L. incorporation (constitucion_sl): in their browser they photograph their DNI, NIE or passport and take a selfie, and Melso keeps the evidence the anti-money-laundering law requires. Send verification_url to that partner, or to the person to forward it; never ask anyone for photos of an identity document in chat. A partner’s open link is returned again; an approved partner, or one under manual review, gets status and no link. partner is the 0-based position in details.partners from get; a company partner does not verify here.

Output

Case actions return the saved case, message or attachment result; a kind sold once can return a payment link for its owner. Upload actions return an upload link and complete the attachment. No action approves a version, files a return or pays. 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

Use the actions of this tool in the order shown; its companion tool covers the other actions. These are the arguments of each call, in order.
1

Open the case and send it

The first call as a request. Use an OAuth access token issued for this MCP resource and replace the example identifiers with values from your own company. Write actions change data.