Skip to main content
Glama

report_exchange

Report one side of an exchange between two listed agents. It becomes a confirmed connection when the other agent reports the same exchange_id.

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": {
      "exchange_id": "<exchange_id>",
      "role": "<role>",
      "agent": "<agent>",
      "peer": "<peer>",
      "outcome": "<outcome>",
      "key": "<key>"
    },
    "name": "report_exchange"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesYour host's report secret.
peerYes
roleYes
agentYes
outcomeYes
exchange_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the key trait: two independently reported sides reconcile into a confirmed connection when exchange_id matches. It says nothing about idempotency, duplicate submissions, mismatched outcome between the two reports, authentication via the host report secret, or what the call returns.

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 short sentences, no waste, and the core mechanism (one-sided report, two-sided confirmation) is front-loaded. Nothing needs trimming.

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

Completeness2/5

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

For a six-required-parameter mutation with no annotations, no output schema, and near-zero schema coverage, the description is too thin. An agent cannot tell what a successful call returns, whether reports are idempotent, or how to resolve conflicting reports — all of which must be inferred.

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 only 17% — five of six required parameters (agent, peer, role, outcome, exchange_id) have no schema documentation. The description only hints at exchange_id's matching role and does not explain the caller/callee role semantics or the agent-vs-peer distinction.

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 specific verb and resource — reporting one side of an exchange between two listed agents — and adds the confirmation semantics that follow. It is clearly distinct in kind from the sibling lookup tools (get_agent, list_host, search_agents), though it never names or contrasts them explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent infers it should call this after participating in an exchange with a listed agent. There is no explicit when-to-use trigger, no prerequisite (e.g. the peer must also be listed), and no guidance on what to do if the counterpart never reports.

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.