Skip to main content
Glama

Review sampled metadata duplication and conflicting declarations

review_metadata_consistency
Read-onlyIdempotent

Offline, bounded comparison of 1-8 caller-supplied same-origin static HTML pages. Reviews repeated/conflicting titles, descriptions and canonical preferences; Open Graph/Twitter text differences; explicit robots directives; and duplicate titles/descriptions across distinct sampled canonical preferences. No network requests, Google-selected canonical verification, rendering, ranking inference, or storage.

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": {
      "pages": "<pages>"
    },
    "name": "review_metadata_consistency"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesOne to eight authorized same-origin static HTML pages with distinct safe URL labels; 900,000 UTF-8 bytes combined, none fetched.

Output Schema

NameRequiredDescriptionDefault
errorNo
pagesYes
scopeYes
originYes
findingsYes
overviewYes
limitationsYes
pages_sampledYes
total_findingsYes
coverage_limitedYes
findings_truncatedYes
duplicate_title_groupsYes
cross_field_review_leadsYes
explicit_robots_conflictsYes
duplicate_declaration_fieldsYes
duplicate_description_groupsYes
excluded_annotated_canonicalsYes
conflicting_declaration_fieldsYes
unresolved_canonical_referencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so the safety profile is covered. The description adds substantive behavior beyond that: no network requests, no storage, no rendering, bounded page count and byte budget. It does not state cost/latency characteristics or how partial/truncated input is handled, which is the main remaining gap.

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?

Front-loaded with purpose, then checks, then exclusions – a logical order with no filler sentences. The enumerated check list is long but each item names a distinct comparison, though the density makes it slower to scan than an ideal definition.

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 no explanation. Combining the description's scope, exclusions, and check inventory with annotations and full schema coverage leaves nothing an agent needs missing in order to call this correctly.

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. The description nevertheless adds a constraint absent from the schema: the pages must be same-origin and static HTML, which is a real semantic requirement an agent must satisfy before calling.

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?

Names a specific verb and resource: "Offline, bounded comparison of 1-8 caller-supplied same-origin static HTML pages," then enumerates exactly what is compared (titles, descriptions, canonicals, OG/Twitter text, robots directives, cross-page duplicates). This clearly separates it from validate_html and audit_seo_metadata, which operate on live pages rather than a caller-supplied offline sample.

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?

The opening clause and the closing exclusion list together define the operating context: caller-supplied static HTML, offline, bounded to 1-8 pages, with no fetching. It explicitly rules out adjacent activities (Google-selected canonical verification, rendering, ranking inference). It stops short of naming a sibling to use instead when live fetching is needed, which keeps it from 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.