Skip to main content
Glama

a2a_send

Delegate a task to a remote A2A agent and wait for the response, returning state and result text; when input is required, provides login or authorization options.

Instructions

把任务委派给远程 A2A agent 并等待结果。返回 state 与结果正文;若停在 input-required,会给出登录链接或工具授权选项。

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": {
      "prompt": "<prompt>"
    },
    "name": "a2a_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes任务内容(自然语言)
contextIdNo可选:复用同一个 A2A 会话上下文
waitSecondsNo最多等待多少秒,默认 600

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose non-obvious behavior: the call waits for the remote agent, returns a state plus result body, and can halt at 'input-required' by surfacing a login link or tool authorization options. It does not explain what happens when waitSeconds elapses or whether an interrupted task can be resumed.

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?

A single front-loaded sentence with a semicolon clause for the return behavior; every clause carries information and nothing is padded.

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 remote-delegation tool with no annotations and no output schema, the description covers what is returned (state plus body) and the important interruption case. The gaps are timeout/expiry behavior and how to continue a task left in input-required.

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 description coverage is 100%, so prompt, contextId, and waitSeconds are already documented, including the 600-second default. The description adds no syntax, format, or interaction detail for any parameter, so the baseline 3 applies.

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 specific verb+resource: delegate a task to a remote A2A agent and wait for the result. It implicitly separates itself from siblings like a2a_task or a2a_answer by describing the full send-and-wait lifecycle, but it never names an alternative, so the differentiation is by inference rather than explicit.

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?

The description implies when to use it (to hand a natural-language task to a remote agent and block for the outcome) but never states exclusions or names the sibling to use instead for polling, answering, or cancelling. Guidance is present but left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools