Skip to main content
Glama

Who reads the web

Identify a web request

identify_request
Read-onlyIdempotent

Check whether a web request really comes from the AI agent or crawler its user agent names. Give the request's User-Agent header and its IP address. Returns the claimed agent and the strongest check passed: the vendor's published IP list, reverse DNS, or a network block registered to the vendor. It cannot check request signatures. What you send is used for the check and is not stored.

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>",
      "ip": "<ip>"
    },
    "name": "identify_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesThe IPv4 or IPv6 address the request came from.
user_agentYesThe request's User-Agent header value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by enumerating the actual check hierarchy used (vendor published IP list, reverse DNS, network block registered to the vendor), stating the limitation that request signatures cannot be verified, and disclosing that submitted data is used for the check and not stored. These are the operationally important facts an agent needs and none of them appear in the annotation set.

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?

Five short sentences, front-loaded with what the tool does, followed by inputs, return shape, limitation, and privacy note. No filler and no repetition of the title.

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?

There is no output schema, but the description compensates by describing what is returned (the claimed agent and the strongest check passed). For a simple two-parameter read-only lookup, the purpose, inputs, output shape, limitation, and data-handling note cover everything an agent needs to call it correctly.

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%, so both parameters (user_agent, ip) are already documented in the schema, including the IPv4/IPv6 note. The description restates the same requirement ('Give the request's User-Agent header and its IP address') without adding format or edge-case detail, so the baseline 3 is appropriate.

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 pair: verifying whether a web request genuinely originates from the AI agent or crawler its User-Agent claims. That is clearly distinct from the sibling tools (agent_profile, list_agents), which deal with agent records rather than live request verification.

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?

Usage context is implied by the purpose, and one explicit scope limit is given ('It cannot check request signatures'), which helps rule out signature-based flows. However, there is no explicit when-to-use versus when-not guidance and no named alternative for cases the tool cannot handle.

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