Skip to main content
Glama
IPGeolocation

IP Geolocation MCP Server

Bulk User-Agent Parser

bulk_parse_user_agent
Read-only

Parse up to 1,000 user-agent strings in a single request to extract device, browser, engine, and operating system details for analysis.

Instructions

Read-only bulk user-agent parsing via POST /v3/user-agent-bulk. Paid only. Cost: 1 credit per successful string. This MCP server accepts up to 1,000 explicit user-agent strings.

Returns one parsed object per string with user_agent_string, name, type, version, version_major, device, engine, and operating_system. uaStrings must be a non-empty array of exact user-agent strings; empty/null strings return upstream 400. Use parse_user_agent for one string. force_refresh bypasses cache only when the user asks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uaStringsYesArray of user-agent strings to parse. Minimum 1, maximum 1,000 in this MCP server.
force_refreshNoDefault false. Set true only when the user asks to refresh cached bulk user-agent parsing data; a successful refresh makes a new upstream request and can consume credits.
Behavior5/5

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

Beyond the readOnlyHint annotation, the description adds important behavioral details: read-only nature, paid cost structure, credit consumption, cache bypass condition, error behavior for empty/null strings, and return format. No contradictions with annotations.

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

Conciseness5/5

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

The description is concise with two short paragraphs, front-loading the core purpose and endpoint. Every sentence adds essential information without redundancy.

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?

The description adequately covers return format, constraints, and error conditions. It lacks explicit mention of authentication or rate limits, but given the tool's simplicity and the covered aspects, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value by explaining that uaStrings must be exact user-agent strings and that empty/null results in a 400 error, and clarifies force_refresh only bypasses cache when user asks. This enhances understanding beyond the schema.

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?

The description clearly states 'Read-only bulk user-agent parsing' via POST endpoint, specifying it handles multiple strings. It explicitly distinguishes from sibling 'parse_user_agent' for single strings, making the tool's purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear usage guidance: it advises using 'parse_user_agent' for single strings, states cost per credit, and notes constraints like max 1000 strings and non-empty array. However, it does not explicitly mention when not to use this tool beyond the single-string alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IPGeolocation/ipgeolocation-io-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server