Skip to main content
Glama

x402_httpbun_get_v1_user_agent

Inspect the User-Agent header returned by an HTTP echo endpoint to verify client identity and debug request metadata.

Instructions

httpbun — HTTP request echo/introspection endpoint (httpbun.com) - headers, args, IP, user-agent, arbitrary path echo [GET /v1/user-agent] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/user-agent

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": "x402_httpbun_get_v1_user_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuinely useful behavioral context — this is a paid call ($0.005 USDC across four chains) and it echoes/reflects the inbound request — but it says nothing about the 402 payment flow, retry semantics, or what the response body looks like.

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

Conciseness3/5

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

It is a single packed sentence with the family name and price up front, so nothing is egregiously wasted. However, the generic enumeration of echo features spends words on capabilities that belong to sibling tools rather than this one.

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 simple read-only echo endpoint with a fully documented schema and no output schema, the key facts an agent needs — path, cost, chain support, and that it reflects request data — are present. The absence of explicit return-value description is a minor gap given the simplicity of the resource.

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%, so the baseline is 3. The description adds no meaning beyond the schema and does not address the tension that a GET echo endpoint exposes body/query parameters, leaving the agent to infer how those interact with the paid call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the family ('HTTP request echo/introspection endpoint') and pins the path '[GET /v1/user-agent]', but the actual resource — the request's User-Agent value — is only inferable from the path name. The enumerated capabilities (headers, args, IP, user-agent, arbitrary path echo) describe the whole httpbun surface rather than distinguishing this endpoint from siblings like x402_httpbun_get_v1_headers or x402_httpbun_get_v1_ip.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no routing to alternatives, even though three near-identical siblings (v1_headers, v1_ip, v1_anything_path) exist. Nothing tells the agent why it would pick the user-agent echo over the headers echo, which is the primary selection risk for this family.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools