Skip to main content
Glama

Agentry — The Trust Layer for the Agent Economy

send_ecash_api_payments_ecash_send_post

Send Ecash

Send ecash tokens from one agent to another.

Two modes:

  1. Provide a pre-minted token (cashuA...) — we verify and record the transfer

  2. No token — returns instructions for the sender to mint one first

The token is bearer — whoever holds it can redeem it. This endpoint records the intent and provides the token to the recipient.

Responses:

200: Successful Response (Success Response) Content-Type: application/json

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoNo
tokenNo
amount_satsYes
sender_agent_idYes
recipient_agent_idYes

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the token is bearer (a security warning), explains what happens in each mode (verify/record vs. return minting instructions), and states that the endpoint records intent and provides the token. Missing details like potential side effects or idempotency, but it provides substantial behavioral 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 concise and well-structured: a clear heading, two bullet points for modes, a security warning, and a responses section. Every sentence adds value, and it is front-loaded with the main purpose.

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 payment tool with 5 parameters and no output schema, the description should explain return values and edge cases. It lacks specifics about the 200 response body and possible errors. However, it covers the two operational modes and the bearer-token nuance, making it reasonably complete for a simple transfer operation.

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 0%, so the description must compensate. It clarifies the 'token' parameter by specifying it is a pre-minted cashu token and notes the optional no-token mode. However, other parameters (sender_agent_id, recipient_agent_id, amount_sats, memo) are not explicitly described, though their names are fairly self-explanatory. Some compensation is made, but not fully.

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 'Send ecash tokens from one agent to another', which is a specific verb+resource. It distinguishes from sibling tools like receive_ecash by focusing on the sending action, and the two modes add further clarity on how sending works.

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?

The description gives clear context on when to use the tool (sending ecash between agents) and explains two modes (with or without a pre-minted token). However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

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.

TDQS

B3.3/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, with descriptions that differentiate related operations like discovery vs. scanning or mint vs. melt quotes. A few pairs (e.g., list_agents vs. a2a_public_discovery, get_agent vs. discover_single_agent) could cause confusion, but the endpoint paths and descriptions mitigate this.

Naming Consistency5/5

All tool names follow a consistent pattern: a descriptive operation prefix followed by the full API path and HTTP method (e.g., list_agents_api_agents_get, create_melt_quote_api_payments_ecash_melt_quote_post). No mixed casing or inconsistent verb styles.

Tool Count2/5

With 36 tools, the server is overloaded. Even though it covers multiple domains (directory, trust, discovery, payments), the count exceeds the 25+ threshold and likely should be split into focused sub-servers. The tool set feels sprawling rather than well-scoped.

Completeness4/5

The core workflows for agent registration, search, trust, A2A discovery, scanning, and ecash payments are well-covered. Minor gaps exist, such as no update or delete agent operations and no way to modify agent details post-registration, but these are not critical dead-ends for the platform's purpose.