Skip to main content
Glama

Visamundi — Visa & Travel Requirements

save_application

Create (without applicationId) or update (with applicationId + resumeToken) a Visamundi visa application for the traveller. Returns applicationId, resumeToken, reference, the price and missing: the exact fields still required. Repeat until missing is empty, then call get_payment_link. Only use information given by the traveller. Consents and payment are always done by the traveller on the payment page.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "visaId": "<visaId>",
      "locale": "<locale>"
    },
    "name": "save_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYesLanguage of the traveller: used for emails and the payment page.
valuesNoApplication-level answers (contact, trip dates, purpose, billing address, questionnaire, options), keyed as in the `values` schema of get_application_form.
visaIdYesVisa product ID, as returned by list_visas / get_visa.
travelersNoOne object per traveller (identity and passport), keyed as in the `travelers` schema of get_application_form. On update, travellers are merged by position.
resumeTokenNoresumeToken returned by the first save_application call. Keep it private.
affiliateCodeNoVisamundi partner code (e.g. ag404), only if the traveller came through a partner link (`?partner=` / `?agence=`). Never guess one. Ignored if the application already has one.
applicationIdNoapplicationId returned by the first save_application call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare it is a non-read-only, non-idempotent, non-destructive write; the description goes further by revealing the iterative completion loop, the exact return fields including `missing`, and the human-in-the-loop payment boundary. It stops short of covering merge/overwrite semantics for omitted fields on update, which is the remaining behavioural question an agent would have.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with purpose and branch condition, then follow-up workflow, then constraints. No restatement of the name and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter write tool with nested objects and no output schema, the description covers the branch condition, the return payload, the retry loop, and the downstream call. An agent can complete the whole application flow without consulting additional documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents each parameter; the description nevertheless adds the decisive semantic that applicationId and resumeToken jointly switch the operation from create to update. It does not elaborate on the `values` or `travelers` object shapes, but those are explicitly delegated to get_application_form's schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource plus the discriminating condition: create without applicationId, update with applicationId + resumeToken. That single clause lets an agent place it precisely against siblings such as get_application_form and get_payment_link.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use and what-next guidance: repeat the call until `missing` is empty, then call get_payment_link. It also states two hard constraints ('Only use information given by the traveller', consents/payment handled by the traveller), which are genuine exclusions rather than vague context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources