Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

parse_user_agent

Read-onlyIdempotent

Parses a User-Agent string into structured client details and a heuristic bot check, helping you inspect self-reported browser, crawler, or HTTP library identities.

Instructions

utilpeek: parse a User-Agent string. For known x402 monitors and indexers with call rates use identify_x402_client. A User-Agent is self-reported and easy to fake; is_bot is a heuristic (declared crawlers, HTTP libraries, headless browsers). Parsed with ua-parser and the uap-core regexes (Apache-2.0). Typically under 0.1 s (first call up to 0.5 s). Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/user-agent-parser-api.html

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": {
      "user_agent": "<user_agent>"
    },
    "name": "parse_user_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_agentYesUser-Agent string (1-1024 chars).

Output Schema

NameRequiredDescriptionDefault
osNo
noteNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
deviceNo
is_botNo
lengthNo
sourceNo
browserNo
is_mobileNo
bot_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld safety, and the description adds real context on top: the UA is self-reported and spoofable, is_bot is only a heuristic with its signal sources named (declared crawlers, HTTP libraries, headless browsers), the parsing engine is ua-parser with uap-core regexes, and latency is typically under 0.1 s with a 0.5 s cold start.

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-loaded with the purpose, then the sibling alternative, then caveats — the important routing information comes first. It is a single dense block that mixes technical caveats with pricing, free-tier, and documentation metadata, which slightly hurts scannability.

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?

An output schema exists, so return values need not be explained, and everything else an agent needs is present: cost, rate limits, latency, the heuristic nature of is_bot, and a docs link. Nothing material for correct invocation is missing.

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% and the single parameter is fully documented in the schema (1-1024 chars). The description adds no format hints, examples, or normalization notes beyond restating that it takes a User-Agent string, so the baseline 3 applies.

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 and resource ("parse a User-Agent string") and the annotation title names the returned facets (browser, OS, device, bot). It also names the sibling it is not (identify_x402_client), so an agent can route without opening either schema.

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?

Explicitly routes known x402 monitors and indexers with call rates to identify_x402_client, which cleanly implies this tool is for arbitrary UA strings. Free-tier limits (10 utilpeek calls per IP per UTC day) and per-call price further constrain when the agent should call it.

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