Skip to main content
Glama

x402-ua-parser

Ua Parser: Parse a User-Agent string — browser, OS, device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uaNoUa to process
useragentNoUseragent to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure, and it provides almost none. It reveals the parsing categories (browser, OS, device) but says nothing about failure behavior on malformed input, output format, or edge cases. For a tool with zero annotation coverage, this is a meaningful gap, though it is not misleading.

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 description is a single sentence with the core purpose front-loaded before the output details. The 'Ua Parser:' prefix is redundant with the tool name and wastes a few words, but otherwise every phrase earns its place. It is compact without being vacuous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parse operation with no output schema, no annotations, and two seemingly synonymous parameters, the description is incomplete. An agent cannot determine the expected return shape, how to choose between 'ua' and 'useragent', or what happens on an unparseable string. The near-duplicate sibling x402-ua-parse also goes unaddressed, leaving the agent without enough context to invoke this tool confidently.

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% — both 'ua' and 'useragent' have descriptions ('Ua to process', 'Useragent to process'), so the baseline is 3. The description itself adds no parameter-level meaning and, more importantly, does not clarify whether the two parameters are aliases of each other, which one takes precedence, or whether both are required. The schema's terse descriptions leave this ambiguity unresolved.

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 verb ('Parse'), a specific resource ('User-Agent string'), and the outputs produced ('browser, OS, device'). This is functional and informative. However, it does not differentiate from the near-identical sibling x402-ua-parse, and the 'Ua Parser:' prefix partially restates the tool name, so it falls short of a 5.

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?

The description offers no guidance on when to use this tool versus alternatives. This is especially problematic given the sibling list contains x402-ua-parse, which appears to be a duplicate or near-duplicate, and the description never explains the difference or which to prefer. There is no when-to-use, when-not-to-use, or alternative routing.

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