Skip to main content
Glama

middle.network: DNS, Email Auth (SPF/DKIM/DMARC/MTA-STS), WHOIS/RDAP, ASN & Network Tools

User-Agent lookup

user_agent
Read-onlyIdempotent

Parse a browser or crawler User-Agent string, or look up a known bot/AI crawler operator by name, returning client family, OS, bot verification metadata, and operator details. Use for HTTP traffic/log attribution; use asn or whois_ip to verify the requester source IP. Cost: 2 units via middle.network.

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

Input Schema

NameRequiredDescriptionDefault
textYesA User-Agent header, bot name or operator name.

Output Schema

NameRequiredDescriptionDefault
dataNoTool-specific structured payload (records, timings, parsed fields, or scores).
toolNoCatalog tool identifier.
shareNoOptional shareable report link metadata.
statusNoOverall diagnostic verdict.
targetNoNormalised domain, IP, or input target.
limitedNoOptional list of upstream data sources that were rate-limited or unavailable.
summaryNoPlain-English and technical one-line summaries.
findingsNoOrdered diagnostic findings with severity and actionable fixes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 closed-world scope, so safety is covered. The description adds non-annotation context that matters operationally: the 2-unit cost billed via middle.network, and the fact that bot results carry verification metadata rather than a bare label.

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?

Three short clauses: capability and return fields first, routing guidance second, cost last. Nothing is redundant and the most decision-relevant information is front-loaded.

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-value detail is unnecessary, and cost plus sibling routing are covered. The only gap is behavior on inputs that cannot be parsed or resolved (error vs. best-effort partial result), which an agent might want to know before relying on the output.

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 single parameter already documents that it accepts a User-Agent header, bot name, or operator name with examples. The description restates the same dual-input idea and adds no format, length, or ambiguity-resolution guidance beyond it, 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 two specific verbs and resources: parse a User-Agent string, or look up a bot/AI crawler operator by name. It then enumerates what comes back (client family, OS, bot verification metadata, operator details), so an agent knows exactly what it produces without opening the 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 scopes the tool to HTTP traffic/log attribution and routes the adjacent need elsewhere: 'use asn or whois_ip to verify the requester source IP.' Both the when-to-use and the when-to-use-something-else are named with the condition that selects them.

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.