Skip to main content
Glama

Visamundi — Visa & Travel Requirements

get_payment_link

Idempotent

Get the Visamundi payment link for a complete application. Give this link to the traveller: they review the application, accept the terms and pay there. Also returns estimatedDelivery (null when unavailable): latestDate (YYYY-MM-DD) is an estimate, never a guarantee; always state it together with condition, and with cappedExplanation when cappedFarTrip is true (issuance deliberately scheduled closer to a distant trip). Fails with the list of missing fields if the application is incomplete.

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": {
      "applicationId": "<applicationId>",
      "resumeToken": "<resumeToken>"
    },
    "name": "get_payment_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
resumeTokenYesresumeToken returned by the first save_application call. Keep it private.
applicationIdYesapplicationId returned by the first save_application call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (destructive=false, idempotent=true, openWorld=false), and the description adds real behavioral context on top: a second return payload (estimatedDelivery) with null semantics, the caveat that latestDate is never a guarantee, and the failure response when fields are missing. It does not explain why readOnlyHint is false for a 'Get' operation (presumably link generation has side effects), which is the one behavioral gap.

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?

Purpose is front-loaded in the first sentence, then downstream action, then return-value semantics, then failure behavior. Every clause earns its place — the estimatedDelivery guidance is necessary because there is no output schema.

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?

With no output schema, the description compensates by naming the return fields, their nullability, the conditional coupling between latestDate, condition, and cappedExplanation when cappedFarTrip is true, and the error case. An agent can call this and correctly relay results without further information.

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

Parameters3/5

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

Schema coverage is 100% and both parameters are documented in the schema itself (including the privacy note on resumeToken). The description only implicitly ties applicationId to a 'complete application'; it adds no syntax, format, or provenance detail beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Get the Visamundi payment link') plus a clear scope constraint ('for a complete application'). It does not name or differentiate against siblings like get_application_form or save_application, so the agent must infer the routing, but the operation itself is unambiguous.

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

Usage Guidelines4/5

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

Gives explicit downstream usage ('Give this link to the traveller: they review the application, accept the terms and pay there') and a clear pre-condition plus failure mode ('Fails ... if the application is incomplete'). It stops short of naming alternatives, but the completeness prerequisite effectively delimits when it can be called.

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