Skip to main content
Glama

util_echo

Read-only

$0.001 via x402: Your query parameters and the request headers we saw (user-agent, accept, content-type), with the time; for testing a client's x402 flow. Pay 0.001 USDC through https://store.agentexchange.work/gw/util/echo?hello=world Via the Agent Exchange store gateway; settled by Coinbase.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "util_echo"
  }
}

Input Schema

NameRequiredDescriptionDefault
*No*
x_paymentNoSigned x402 payment payload (optional; without it the answer is the price)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and openWorldHint=true; the description usefully adds that each call costs 0.001 USDC, that payment is made through a specific x402 gateway, and that settlement is by Coinbase. However, it repeats the price twice, embeds a hardcoded example URL as if it were the endpoint, and says nothing about latency, failure modes when payment is rejected, or whether unpaid calls consume anything.

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

Conciseness2/5

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

The sentence is padded with commercial boilerplate: the price appears twice ('$0.001 via x402' and 'Pay 0.001 USDC'), the gateway is named twice, and a sample request URL is inlined as if authoritative. The actual behavior description is compressed into one parenthetical clause, so the useful content is neither front-loaded nor given room.

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?

For a trivial echo tool with no output schema and full schema coverage, the definition covers what comes back, the payment precondition, and the intended use. What remains unsaid (response encoding, behavior of the wildcard '*' key) is minor at this complexity.

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 100%, with the wildcard parameter and x_payment both documented in the schema itself. The description reinforces that the wildcard params are echoed back and that payment is supplied via the gateway, but adds no format or encoding detail beyond the schema — baseline 3.

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 states a specific behavior: it returns the caller's query parameters, the observed request headers (user-agent, accept, content-type), and the time. That is a concrete verb+output, distinguishable from siblings like util_hash or util_uuid, though the purpose is buried behind pricing preamble.

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?

It names one use case: 'for testing a client's x402 flow.' There is no guidance on when to prefer util_ping or util_status instead, and no exclusion or prerequisite stated beyond implicitly needing payment.

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.