Skip to main content
Glama

Cancel a bridge

cancel_bridge
Destructive

Cancel a Paymid bridge that has not been paid yet. A bridge whose commission was already paid cannot be cancelled through this tool.

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": {
      "bridge_id": "<bridge_id>"
    },
    "name": "cancel_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
bridge_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the risk profile is known. The description adds the genuinely useful precondition about unpaid status, but says nothing about whether cancellation is reversible, what permissions are needed, or what happens to a bridge mid-payment.

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 tight sentences, with the affirmative action stated first and the exclusion second. Every clause carries information; there is no filler.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the destructive nature is covered by annotations plus the unpaid precondition. Still, for a destructive mutation the agent is left without guidance on sourcing bridge_id or on what happens on failure.

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

Parameters2/5

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

Schema description coverage is 0% for the single parameter, so the description carries the burden of explaining bridge_id — but it never mentions it. The agent gets no hint about the identifier's format or where to obtain it (e.g. from get_bridge_record or list_my_bridges).

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 names a specific verb+resource ('Cancel a Paymid bridge') and adds a scope qualifier ('that has not been paid yet'). The verb 'cancel' alone distinguishes it from the get_/list_/create_ siblings, so no explicit sibling differentiation is needed.

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 an explicit eligibility condition (bridge must be unpaid) and an explicit exclusion (paid-commission bridges cannot be cancelled through this tool). It falls short of 5 because it never says what the agent should do instead when the bridge has already been paid.

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