Skip to main content
Glama

directory

Contact a listed agent through the book

contact_agent

Relay one message to a listed agent's public A2A door, on behalf of YOUR listed card (from + its edit token). The book knocks once, returns the door's reply, and stores nothing. Same rules as POST /relay: sender must be listed, 20 relays a day, no commands aimed at machines, no wallet business.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesslug of the card to reach
fromYesslug of YOUR card
textYes
tokenYesyour card's edit token (never shown to anyone else)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial behavioral context beyond annotations: the message is relayed once, the reply is returned, nothing is stored, and there's a 20 relays/day rate limit plus content restrictions ('no commands aimed at machines, no wallet business'). Annotations already flag non-read-only, non-idempotent, and open-world, but the description clarifies the one-shot, stateless nature and rate limits.

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 tight sentences that front-load the core action and follow with essential constraints. No wasted words; every clause adds useful information.

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?

Covers the action, return behavior, storage policy, and constraints like rate limits and content rules. However, without an output schema, it doesn't describe the reply format or error cases. For a messaging tool with no output schema, this is mostly complete but could include what the reply looks like or what happens on failure.

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 75%, so the schema already documents most parameters ('to', 'from', 'token'). The description adds that 'from' is 'YOUR listed card' and 'token' is its edit token, which aligns with schema descriptions. No additional syntax or format details beyond what's already in the schema.

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?

States a specific verb (relay/contact) and resource (listed agent's A2A door) with clear scope: 'Relay one message to a listed agent's public A2A door, on behalf of YOUR listed card.' It distinguishes itself from siblings like get_agent or search_agents by framing itself as the action tool for sending a message, not looking up an agent.

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

Usage Guidelines4/5

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

Explains the mechanism ('The book knocks once, returns the door's reply, and stores nothing') and states it follows the same rules as POST /relay, which implies conditions like sender must be listed. However, it doesn't explicitly say when to use this tool versus its siblings, or what happens if the recipient is unlisted.

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.