Skip to main content
Glama

Review observed non-HTML HTTP indexing directives

review_http_directives
Read-onlyIdempotent

Offline, bounded analysis of one to eight caller-supplied same-origin HTTP response header observations for PDFs and media: MIME, X-Robots-Tag scopes and conflicts, HTTP Link rel=canonical, attachment disposition and response status. No binary fetch, robots.txt request, storage, Google indexing assertion or raw URL/header leakage.

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": {
      "resources": "<resources>"
    },
    "name": "review_http_directives"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourcesYesOne to eight authorized same-origin supplied HTTP response observations, up to 30 KB combined header values; no network requests are made.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
findingsYes
overviewYes
resourcesYes
limitationsYes
html_resourcesYes
total_findingsYes
coverage_limitedYes
resources_sampledYes
findings_truncatedYes
non_html_resourcesYes
attachment_resourcesYes
non_success_resourcesYes
unknown_mime_resourcesYes
canonical_header_resourcesYes
explicit_noindex_resourcesYes
googlebot_noindex_resourcesYes
conflicting_robots_resourcesYes
conflicting_canonical_resourcesYes
unresolved_canonical_referencesYes
googlebot_noimageindex_resourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly, closed-world, idempotent, non-destructive; the description adds genuinely new behavioral facts on top: fully offline, no binary fetch, no robots.txt request, no storage, and no raw URL/header leakage. The 'no Google indexing assertion' clause constrains how results may be interpreted, which annotations cannot express.

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?

Two sentences, front-loaded with purpose, followed by a negative-capability list that prevents misreading. All clauses carry information, though the colon-delimited enumeration in the first sentence is dense and could be split for scanability.

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?

An output schema exists, so return values need not be explained; the description instead covers scope, input limits, offline behavior, privacy guarantees, and interpretive boundaries. For a single-parameter, read-only analysis tool this leaves nothing an agent needs missing.

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%, so the baseline is 3, and the description exceeds it by adding the 'same-origin, caller-supplied' constraint on the resources array — a semantic input restriction not stated in the schema. The 30 KB combined bound also appears in the schema items description, so that part is duplicative rather than additive.

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: bounded analysis of caller-supplied same-origin HTTP response header observations, explicitly scoped to PDFs and media, and enumerates what is analyzed (MIME, X-Robots-Tag scopes/conflicts, Link rel=canonical, disposition, status). That 'non-HTML, PDF/media' scope differentiates it from header/delivery and HTML-validation siblings without needing to name them.

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?

Usage context is clear: caller already holds the header observations, no network is performed, and the tool is bounded to one to eight resources. The exclusion of Google indexing verdicts tells the agent not to treat output as a ranking judgment. It stops short of naming an alternative (e.g. validate_html or diagnose_http_delivery) for the HTML case, so routing depends on inference from 'for PDFs and media'.

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.