Skip to main content
Glama

Relay to another AI with a short code

anthill_relay

Hand text or a file to another AI app (or another session) with a short, speakable code like "amber-otter-mango-42", which is also a link: https://agentanthill.com/amber-otter-mango-42. Use it when a person is moving work between AI assistants (e.g. Claude, ChatGPT, a phone assistant): give them the say_this line. Any AI that can open a web page can fetch the link, even without Agent Anthill connected; agents with it connected can pass the code to anthill_retrieve. Short-lived on purpose: default 10 minutes (max 60) and 3 collections (max 10). Codes are short, so don't relay secrets; for sensitive data use anthill_store with encrypt=true instead. Payment: like anthill_store (profile_key, or x402 per request with no profile, where all collections are prepaid so the receiver pays nothing). Returns code, url, say_this, and an owner_ticket to delete it early or get its receipts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usesNoHow many times it can be collected. Default 3 (link previews in chat apps can use one).
labelNoOptional note shown to the receiver, e.g. 'Draft from ChatGPT session'.
contentYesText, or base64 if is_base64 is true.
minutesNoHow long the code works. Default 10, max 60.
is_base64NoTrue if content is base64-encoded binary.
profile_keyNoYour profile's secret key (starts with 'anthill_sk_'). Optional if sent as an 'Authorization: Bearer' header.
content_typeNoOptional MIME type. Text is best for AI receivers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover only safety flags; the description adds substantial context beyond them: TTL default 10 min (max 60), collection limits (3 default, max 10), a security warning against relaying secrets, the payment model (profile_key or x402 prepaid), and the exact return fields including owner_ticket.

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?

Front-loads the core action and the example code, then layers usage, limits, security, and payment in compact sentences. Slightly dense but every sentence carries decision-relevant information; nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no output schema, the description covers what an agent needs: when to use it, the alternative for sensitive data, expiry/collection limits, payment handling, and the shape of the return (code, url, say_this, owner_ticket).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description reinforces key parameter semantics by restating the 10-minute/60-minute and 3/10-collection limits and explaining the receiver-side implications (link previews consuming a collection). It doesn't add syntax beyond the schema, so not a 5.

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+resource+mechanism: hand text or a file to another AI app/session via a short speakable code that is also a URL. It explicitly distinguishes itself from siblings anthill_store (for secrets) and anthill_retrieve (the receiving side).

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

Usage Guidelines5/5

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

Gives a concrete use case ('a person moving work between AI assistants') and names the alternative with the condition that selects it: 'for sensitive data use anthill_store with encrypt=true instead.' Also explains the receiver path for both connected and unconnected agents.

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