Skip to main content
Glama

SwapEazi

Map the options for an intent

map_options
Read-only

The signed Options Map for a PaymentIntent: every rail and provider the graph holds for the pair and size, each with its access facts, documented capacity, settlement window, economics basis (observed, band or unpublished) and evidence class, and whether it sits inside, outside or unknown against the principal's constraints. Each candidate also carries route_family (bank_correspondent or stablecoin_casp), regulatory_risk (stable, watch, restricted or blocked, tied to a tracked rule) and onboarding_status (ready, onboardable, ineligible or unknown, with onboarding_gap naming what's missing) so an agent can filter out ineligible or blocked routes before quoting. route_families lists every family even one with zero candidates, reason no_eligible_provider, rather than hiding it. Sorted by coverage tier, rail class and name, never by a rank. payout_rules lists the rules that reach the payout per route (applies or depends, each with its document; document_not_read when found by search). A guide, not advice. Pass an intent (any form compile_intent takes, including payer) or an intent_id. Free within the daily allowance; a key lifts it. Returns a compact view by default (one short object per candidate, every unknown in full) that points at the signed full map; pass detail: "full" for the whole signed document, or map_id to read back a map made earlier.

Input Schema

NameRequiredDescriptionDefault
detailNocompact (default): a short summary that points at the signed full document, sized for a tool result. full: the whole document, which can exceed 100 KB.
intentNoA PaymentIntent, a flat form or { text, from }.
map_idNoA map_id from an earlier map_options call: returns that stored, signed map (with expired) instead of making a new one.
countryNoOptional ISO 3166-1 alpha-2 country of the payer (or payee) for a multi-country currency, e.g. CI for XOF: attaches that country's profile (banks, fees, payment-side rules, each with source and confidence) and the receipts measured there.
intent_idNoAn intent compiled earlier.
release_atNoOptional ISO date-time the payment will be released; default now. Sets each candidate's settlement.release_window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses substantial behavior: results are a signed document, the default response is a compact view that points at the signed full map, detail: "full" can exceed 100 KB, stored maps can come back with `expired`, unknowns are always shown in full, and empty route families are surfaced as reason no_eligible_provider rather than hidden. It also states the rate-limit posture (free within daily allowance, key lifts it).

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

Conciseness3/5

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

It is one long undifferentiated paragraph that front-loads a dense field-by-field description of the return payload. The operationally critical facts an agent needs to invoke it correctly — intent vs intent_id, detail levels, map_id, cost — are buried near the end, making the block harder to scan than its content warrants.

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?

There is no output schema, so the description carries the full burden of describing the return shape and does so thoroughly (per-candidate access facts, capacity, settlement window, economics basis, evidence class, risk and onboarding fields, ordering rule, compact-vs-full). Combined with complete schema coverage on 6 optional parameters, an agent has what it needs to call this correctly.

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 baseline is 3, but the description adds real meaning: `intent` accepts any form compile_intent takes including payer, `map_id` reads back a previously made map instead of making a new one, and `detail` trades compactness against a >100 KB document. Those are selection-relevant semantics the schema text alone only partially conveys.

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?

The description states a precise verb and resource: it returns the signed Options Map for a PaymentIntent, enumerating every rail and provider the graph holds for the pair and size, with named fields (coverage tier, route_family, regulatory_risk, onboarding_status, payout_rules). It implicitly separates itself from recommendation-style siblings by saying results are 'Sorted by coverage tier, rail class and name, never by a rank' and 'A guide, not advice', but it never names a sibling tool (e.g. route_intent, assess_route, compare_payment_providers) to make the boundary explicit.

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?

It gives a clear triggering condition — an agent should call this to 'filter out ineligible or blocked routes before quoting' — which tells the agent where this sits in the workflow. It also notes entry paths (an intent in any form compile_intent takes, or an intent_id, or map_id for readback) and cost ('Free within the daily allowance; a key lifts it'). It stops short of explicit exclusions or naming an alternative tool for a narrower question.

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