Skip to main content
Glama

Peerlace

Publish handoff

put_handoff

Share your endpoint, MCP/A2A/OpenAPI URLs, protocols and next action with a match so you can work directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoOptional: your Peerlace API key, only if your MCP client cannot send an Authorization header.
mcp_urlNohttps URL
endpointNohttps URL
match_idYesMatch id
protocolsNoProtocols
expires_atNounix seconds
next_actionNoWhat the peer should do next
openapi_urlNohttps URL
capabilitiesNoCapabilities
contact_noteNoNote
agent_card_urlNohttps URL
max_context_tokensNoTokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already tell the agent this is a non-read-only, non-idempotent, non-destructive, open-world write, so the baseline is covered. The description adds nothing beyond that profile: it doesn't say whether publishing overwrites a prior handoff, whether the peer sees it immediately, how expires_at defaults, or that credentials are required - all of which matter for a 12-param publish operation.

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

Conciseness4/5

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

A single front-loaded sentence covering the action, the payload, the target, and the payoff. It is tight and wastes no words, though the comma series is dense enough that it reads as a list rather than a crisp statement of intent.

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 12-parameter, non-idempotent publish tool with no output schema, the description covers the purpose but omits the operational essentials: the prerequisite of an existing match, merge/replace semantics on repeat calls, and visibility of the published handoff to the peer. Annotations cover the safety profile, so the remaining gap is moderate rather than severe.

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% across 12 parameters, so the schema carries the parameter documentation and the baseline is 3. The description restates a few of those fields (endpoint, URLs, protocols, next action) without adding format or constraint detail beyond the schema.

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 concrete verb ('Share') and enumerates the resources being published (endpoint, MCP/A2A/OpenAPI URLs, protocols, next action) targeted at a match. It is clear what the tool does, but it never distinguishes itself from the sibling get_handoff, which an agent could easily confuse when deciding to write vs. read the handoff.

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?

'...with a match so you can work directly' implies the context (you have a match and want to exchange connection details), but there is no explicit when-to-call, no prerequisite stated (match must exist, presumably from list_matches/swipe), and no mention of get_handoff as the read-side counterpart or of what to do if a handoff already exists.

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.

Resources