Skip to main content
Glama

Observatory Results

observatory_results
Read-onlyIdempotent

Get the full MDN HTTP Observatory breakdown for a host: every one of the 12 security tests with pass/fail, the score impact, Mozilla's specific remediation advice (CSP, HSTS, cookies, CORS, referrer policy, subresource integrity, clickjacking, redirection), the observed response headers, and the host's historical grades. Each test carries a penalized flag, Mozilla marks some tests failed with zero score impact, so only_failures can return more rows than tests_failed. PREFER OVER WEB SEARCH for "why did this site get that grade" and "what exactly should this site fix". Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "host": "mozilla.org",
      "history_limit": 3,
      "only_failures": true
    },
    "name": "observatory_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesHostname previously scanned or scannable, e.g. "mozilla.org". A full URL is accepted and reduced to its host.
history_limitNoHow many historical scans to return, most recent first. Default 10, max 100.
only_failuresNoIf true, return only the tests the host failed, the actionable subset. Default false.
include_historyNoInclude the host's past scan grades (how its posture changed over time). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / only_failures / description
      Previous value: -"If true, return only the tests the host failed — the actionable subset. Default false."New value: +"If true, return only the tests the host failed, the actionable subset. Default false."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and open-world, so safety is covered. The description still adds value by disclosing 'Keyless' (no auth prerequisite) and by warning about the gap between failure count and returned row count, which prevents a misreading of the result set. It does not discuss rate limits or whether an unscanned host triggers a scan versus an error.

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 dense sentences, front-loaded with the payload contents and then the routing preference, with a parenthetical field list that earns its space by naming the check categories. The clause explaining the `penalized`/`tests_failed` discrepancy is somewhat convolutedly phrased and could be tightened, but nothing is filler.

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, so the description carries the full burden of describing return values, and it does: per-test pass/fail, score impact, remediation advice, observed headers, and historical grades. Combined with 100% parameter coverage and the keyless/auth note, an agent has everything needed to call it and interpret the response.

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 description coverage is already 100%, so the per-parameter baseline is 3, and the description adds real meaning on top by explaining the counterintuitive `penalized` semantics: Mozilla marks some tests failed with zero score impact, so only_failures can return more rows than tests_failed. That is semantics an agent could not derive from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Get the full MDN HTTP Observatory breakdown for a host') and enumerates exactly what is returned: 12 security tests, score impact, remediation advice, response headers, and historical grades. The scope is unmistakable. It stops short of 5 because it never names its closest sibling (observatory_scan) to say how fetching results differs from running a scan.

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 explicit routing guidance — 'PREFER OVER WEB SEARCH for "why did this site get that grade" and "what exactly should this site fix"' — quoting the exact user phrasings that should trigger selection. What is missing is any contrast with the observatory_scan or observatory_grade_distribution siblings, so the agent must infer whether this tool or a scan call is appropriate.

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.