Skip to main content
Glama

SwapEazi

Submit an approved payment (sandbox)

submit_payment
DestructiveIdempotent

Sends ONE approved, released payment of a run through the business's own connected rail account (sandbox), with an idempotency key; without connection_id it reads the submission's status. Refused unless approved and within the connection's cap. Production execution waits on an authorised provider agreement.

Input Schema

NameRequiredDescriptionDefault
run_idYesThe payment run (pr_...), or pr_sample.
accountNoThe payee account the person approved, to match.
access_keyNoThe router key that made the run.
payment_idYesThe approved payment in the run, e.g. 'p_001'.
connection_idNoYour connected rail account to send through (from connect_rail_account). Omit to read the submission's status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / connection_id / description
      Added value: +"Your connected rail account to send through (from connect_rail_account). Omit to read the submission's status."
    • addedInput schema / properties / payment_id / description
      Added value: +"The approved payment in the run, e.g. 'p_001'."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=true; the description adds genuinely new context — sandbox-only scope, the approval and cap preconditions, the idempotency-key requirement, and the production gating on an authorised provider agreement. It does not describe what is destroyed or whether a submission can be retracted once sent, which is the main remaining behavioral gap for a destructive mutation.

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?

Two dense sentences with the primary action, preconditions, alternate mode and production caveat all front-loaded. No filler, and the ordering puts the send semantics before the edge-case read path.

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

Completeness4/5

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

For a destructive, outbound, five-parameter mutation with no output schema, the description covers preconditions, environment gating and the dual read/write mode well. It omits any indication of what a successful submission returns (a submission id or status), which matters more here because no output schema documents it.

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%, so all five parameters are already documented, including the connection_id omit-to-read-status behavior. The description adds only the idempotency-key notion — and notably references an idempotency key that has no corresponding parameter in the schema, giving no guidance on how the key is supplied or derived.

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 concrete verb and resource ('Sends ONE approved, released payment of a run') plus the channel ('business's own connected rail account'). The capitalized 'ONE' implicitly scopes it apart from batch siblings like run_payments, but no sibling (e.g. confirm_payment, rail_handoff) is named explicitly, so the differentiation is inferred rather than stated.

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 clear gating conditions: refused unless the payment is approved and within the connection's cap, and production execution is blocked pending a provider agreement. Also explains the alternate mode when connection_id is omitted. It stops short of naming which sibling to use instead when a precondition fails (e.g. request_payment_approval or release_status).

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