Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

User-agent parser + bot detection

user_agent_parse
Read-onlyIdempotent

Browser, engine, OS, device type, and whether it is a known crawler or AI agent (GPTBot, ClaudeBot, PerplexityBot, scripts...). Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ua": "<ua>"
    },
    "name": "user_agent_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
uaYesUser-Agent string

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: a metered quota and two concrete payment paths (MCP params._meta["x402/payment"] or X-API-Key credits), which materially affects whether and how an agent should call it. It stops short of describing failure modes (e.g., what happens on quota exhaustion or malformed UA), keeping it from a 5.

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?

The first clause is front-loaded with the actual return fields, and the tool is short overall. The pricing sentence is dense but decision-relevant; the trailing '[served by tools.moneytools.dev]' is the only clear filler.

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?

An output schema exists, so return values need not be explained, and annotations cover the read-only/idempotent safety profile. Combined with the itemized output fields and the pricing/payment note, an agent has enough to invoke it correctly; only error and quota-exhaustion behavior is left unstated.

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% and the sole parameter already has a description plus a worked example (a GPTBot string), so the schema carries the parameter semantics. The description adds nothing about the format, encoding, or edge cases of the 'ua' input, so baseline 3 is appropriate.

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 enumerates the concrete outputs (browser, engine, OS, device type, crawler/AI-agent flag) which makes the resource and transformation unambiguous for a one-parameter parser. It never states the verb directly (the name and title carry 'parse'), and it makes no attempt to distinguish itself from the other *_parse siblings, but the enumerated fields do the differentiating work.

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?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative; usage is only implied by the single 'ua' input. The description does supply decision-relevant context for calling it (free tier of 10 calls/day, then per-call pricing via x402 or X-API-Key), which an agent needs before invoking a paid tool but is cost guidance rather than selection guidance.

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