Skip to main content
Glama

A2A Grocery — the agentic hub for retail grocery procurement

A2A Handoff

a2a_handoff

Hand the buyer to the right agent over Agent-to-Agent (A2A): with an allow decision the order intent goes to the counterparty's agent (envelope + card URL); with a deny, the market agent of the ship-to — a referral, never a sale to a consumer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intent_idNo
decision_idNo
counterparty_card_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world operation. The description adds real behavioral context beyond that: the allow branch forwards an order-intent envelope plus card URL to the counterparty's agent, the deny branch routes only as a referral ('never a sale to a consumer'). It still omits permission/auth requirements and any retry or failure semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, which is good structurally. The heavy clause stacking and domain jargon ('market agent of the ship-to', 'envelope + card URL') reduce readability enough that density becomes a cost rather than an asset.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile. What remains missing is guidance on parameter selection and preconditions for a write-style handoff tool with zero required, zero-described parameters — the agent cannot be confident what to pass or when the call is valid.

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 0% across three nullable, non-required parameters, so the description must compensate. It does partially map them implicitly — 'order intent' to intent_id, the allow/deny 'decision' to decision_id, and 'card URL' to counterparty_card_url — but never states which are required, how they pair, or what happens when one is omitted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a recognizable verb+resource pairing ('Hand the buyer to the right agent over Agent-to-Agent'), so the core action is graspable. However, phrases like 'the market agent of the ship-to' and the nested allow/deny routing make the actual purpose murky, and it never distinguishes itself from siblings such as gate_transaction or create_order_intent.

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 explains what happens internally for an allow versus a deny decision, but that is tool behavior keyed to decision_id, not guidance on when to invoke this tool versus alternatives. No prerequisites, no trigger conditions, and no named sibling to prefer for a different case are given.

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.