Skip to main content
Glama

bot_auth_check

Read-only

Web Bot Auth check: key directory and signed request diagnosis. Use when a bot or agent signs its requests with Web Bot Auth (HTTP Message Signatures, RFC 9421) and you need to see why a signature is rejected, or what a key directory publishes: it fetches and reads the JWK Set at a directory URL or a domain's well-known path, or rebuilds the signature base of a pasted signed request and checks the Ed25519 signature against the key its Signature-Agent names. Cost: 2 credits per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bot_auth_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoRequest mode: check the time window at this moment (Unix seconds or ISO 8601) instead of now, for a request you captured earlier.
urlNoRequest mode (required there): the absolute URL the request was sent to, for @authority, @path, @query and the like. Never fetched.
labelNoRequest mode: which signature label to check. Default: the first whose tag is web-bot-auth, else the first.
domainNoDirectory mode: a domain; https://<domain>/.well-known/http-message-signatures-directory is fetched.
methodNoRequest mode: the HTTP method, default GET. Case is kept, as RFC 9421 requires.
headersNoRequest mode: the signed request's headers as {name: value or [values]}, at least Signature and Signature-Input, plus Signature-Agent and every covered header. Up to 100 headers of 8,192 characters. Never fetched or stored; checked as caller_supplied.
directory_urlNoDirectory mode: an https URL serving the key directory (a JWK Set). Fetched by PageVerified; redirects are reported, not followed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint=true, it discloses the outbound fetch behavior (the directory URL or well-known path is fetched; redirects are reported, not followed), that signed-request inputs are never fetched or stored, and a cost of 2 credits per call. Those are exactly the traits an agent needs before calling.

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?

One front-loaded paragraph opens with the tool's identity, then triggering conditions, then mechanics, then cost — a sensible order with no filler. The middle clause is long and stacks both modes into a single sentence, making it denser than it needs to be.

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?

Annotations carry the safety profile and the schema carries full parameter documentation including limits (100 headers, 8,192 characters), so the description's job is scope, modes, fetch semantics, and cost — all of which are present. No output schema exists, but the failure-diagnosis framing tells the agent what the result answers.

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 schema itself already labels each parameter as 'Request mode' or 'Directory mode', so the description adds little per-parameter meaning. It reinforces the mode split and the signature/Signature-Agent requirement but introduces no new syntax or constraints 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 names a specific subject (Web Bot Auth / HTTP Message Signatures, RFC 9421) and spells out two concrete operations: fetching and reading a JWK Set from a directory URL or well-known path, and rebuilding a signature base from a pasted request to verify an Ed25519 signature. An agent can tell 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 Guidelines4/5

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

It gives an explicit trigger condition — 'Use when a bot or agent signs its requests with Web Bot Auth ... and you need to see why a signature is rejected, or what a key directory publishes' — and implicitly routes between the two modes. It does not name a when-not case or point at a nearby alternative (e.g. a plain JWT decoder), so it falls short of a 5.

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