Skip to main content
Glama

Infer A2A Agent

lyzr_infer_a2a_agent

Send messages to registered A2A agents and receive responses, with optional context to continue prior conversations.

Instructions

Send a message to a registered A2A agent and get its response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe message to send to the agent
agent_idYesThe A2A agent id to infer against
context_idNoOptional context id to continue a prior conversation
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, but the description adds no additional behavioral context. It does not disclose side effects (e.g., the agent might trigger actions), authentication needs, or rate limits. It is not contradictory, but it is essentially a restatement of the basic action.

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?

The description is a single, efficient sentence with no filler. It is front-loaded with the key action and resource.

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?

For a simple send-and-respond tool, the description is minimally adequate. It does not explain return format or behavior in error cases, and there is no output schema to supplement this. The tool is not complex, but more context could help given the large sibling set and absence of output schema.

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 the schema already documents agent_id, message, and context_id. The description adds nothing beyond the schema, but the baseline of 3 applies since the schema carries the heavy lifting.

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 uses a specific verb+resource structure: 'Send a message to a registered A2A agent and get its response.' This clearly states the action and target. It does not explicitly distinguish from sibling tools like lyzr_send_a2a_jsonrpc or lyzr_chat, but the 'registered A2A agent' qualifier provides reasonable differentiation.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives. It does not mention alternatives, exclusions, or prerequisites. With sibling tools like lyzr_send_a2a_jsonrpc and lyzr_chat, the lack of any usage context leaves the agent uncertain about selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nandanNM/lyzr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server