Skip to main content
Glama

Call any Bridge API endpoint

bridge_call_api
Destructive

Call any WasapFlow Bridge endpoint not covered by the other tools (see bridge_docs_search for paths). Irreversible endpoints need {"confirm": true} in the body. Confirm with the user before any call that sends, deletes or changes something.

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "bridge_call_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoOptional JSON body. Send endpoints accept biz_opaque_callback_data (your reference, max 512 chars).
pathYesPath after /bridge/v1, e.g. /broadcasts or /templates/order_confirmed.
queryNoOptional query string parameters.
methodYes
waba_idNoOptional x-waba-id for number-scoped endpoints.
idempotency_keyNoOptional Idempotency-Key header for send endpoints (POST /messages/*, POST /broadcasts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body / description
      Previous value: -"Optional JSON body."New value: +"Optional JSON body. Send endpoints accept biz_opaque_callback_data (your reference, max 512 chars)."
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional Idempotency-Key header for send endpoints (POST /messages/*, POST /broadcasts).",
      +  "maxLength": 255,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so safety is partly covered; the description adds non-obvious behavior beyond them — that irreversible endpoints require a {"confirm": true} body field, a requirement invisible in the schema. It does not describe response shape, error behavior, or rate limits, so it stops short of full disclosure.

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?

Three short sentences, front-loaded with the tool's scope, then the confirm requirement, then the user-confirmation rule. Every sentence carries actionable information with no restatement of the title.

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 an open-ended, destructive pass-through with six parameters and no output schema, the description covers the two things an agent would otherwise get wrong: which tool to use and how to authorize irreversible calls. What a call returns and how failures surface is left implicit, a minor gap given the generic nature of the tool.

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 already 83%, and the description still adds meaning: it directs the agent to bridge_docs_search for valid path values (the schema only gives examples) and introduces the confirm-in-body convention, which is not captured anywhere in the schema. Method semantics and idempotency behavior are left to the 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 ('Call any WasapFlow Bridge endpoint') plus the defining scope constraint: it covers only endpoints not handled by the other tools. That single clause separates it cleanly from the specialized siblings (bridge_send_text, bridge_list_templates, etc.) without needing either schema opened.

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?

Explicit routing rule ('not covered by the other tools') tells the agent when not to use it, and 'see bridge_docs_search for paths' names the prerequisite tool for discovering valid paths. It also adds a gating instruction to confirm with the user before any send/delete/change call, which is exactly the when-to-check guidance a destructive fallback tool needs.

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.