Skip to main content
Glama

Send A2A JSON-RPC Request

lyzr_send_a2a_jsonrpc

Send raw JSON-RPC 2.0 requests directly to an A2A agent endpoint using the agent ID and request payload, enabling custom agent interactions.

Instructions

Send a raw JSON-RPC 2.0 request to a served A2A agent's endpoint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesThe JSON-RPC 2.0 request payload (method, params, id, etc.)
agent_idYesThe A2A agent id to send the request to
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds 'raw' implying arbitrary JSON-RPC methods may be invoked, but it does not disclose specific behavioral traits such as error handling, side effects, or validation behavior. It does not contradict annotations, but provides minimal added context.

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, front-loaded sentence with no unnecessary words. It efficiently conveys the tool's core function.

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 low-level raw JSON-RPC tool, the description is minimal but adequate for an agent familiar with the protocol. It lacks details about supported methods, response format, or how the endpoint is derived from agent_id, but the schema covers the basic parameters. There is no output schema, so return behavior is not described.

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 coverage is 100% with descriptive parameter comments for request and agent_id. The description adds little beyond mentioning the endpoint concept, which is already captured in the agent_id parameter description. It does not compensate for any schema gaps because there are none.

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?

The description clearly states the verb 'send' and the resource 'a raw JSON-RPC 2.0 request to a served A2A agent's endpoint'. This distinguishes it from sibling tools like lyzr_chat or lyzr_get_a2a_agent, which operate at a higher level or on metadata.

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 usage for low-level, raw interactions (via the word 'raw') but does not explicitly state when to use this tool versus alternatives such as lyzr_chat or lyzr_get_a2a_agent_card. There is no mention of exclusions or preferred higher-level alternatives.

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