Skip to main content
Glama

Check a domain

ptpge_check_domain
Read-onlyIdempotent

Does an agent find PTPGE on this domain? Fetches exactly what a checkout agent fetches — https:///.well-known/ucp (the UCP manifest and its ptpge block), the vendor declaration at /.well-known/ptpge/declaration.json, the identity in the vendors register, and a supplier catalogue if the domain is a maker — and validates each against its published JSON Schema (ptpge.org/v1/schemas/) and the vocabulary. Returns a verdict (ready | partial | none), one line per step with errors and warnings, what the agent sees (name, identity, products, capability counts) and what is missing with where to fix it. Read-only; nothing is stored. Use it to answer 'is agent-ready?' or 'why does my declaration not validate?'.

Input Schema

NameRequiredDescriptionDefault
domainYesA hostname or URL, e.g. trykkverk.no or https://trykkverk.no/.
documentNoOptional: https URL of a declaration or catalogue hosted elsewhere than the known path (a register entry marked «hosted»).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds substantial context beyond them: it discloses the exact fetch targets, that it mirrors what a checkout agent sees, that results are validated against published JSON Schemas and the vocabulary, and that 'nothing is stored'. It also describes the return shape (verdict ready|partial|none, one line per step, errors/warnings, missing items with fix locations).

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?

The verification question is front-loaded and every clause is informative, but the core content is a single long run-on sentence that could be split for scanability. Nothing is redundant, though.

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?

With no output schema, the description carries the return contract itself and does so thoroughly: verdict values, per-step lines, what the agent sees, and what is missing plus where to fix it. For a two-parameter read-only probe this is complete.

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 coverage is 100%, so both parameters are already documented, and the baseline applies. The description explains the fetch paths and the register-driven flow but does not clarify the optional `document` override beyond naming a vendor declaration path, leaving its precedence over the default path implicit.

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 opens with a concrete question ('Does an agent find PTPGE on this domain?') and enumerates exactly what is fetched (.well-known/ucp manifest, ptpge block, declaration.json, vendors register, supplier catalogue). This is clearly distinct from siblings like ptpge_validate_document, which validate a single supplied document rather than probing a live domain.

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 usage contexts: 'is <printer> agent-ready?' and 'why does my declaration not validate?'. It does not explicitly contrast with ptpge_validate_document or ptpge_fingerprint, so the agent must infer which to pick when it already has a document in hand.

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.