Skip to main content
Glama

Verify an ONZIP-signed document

onzip_verify_document
Read-onlyIdempotent

Checks the verification code printed on an ONZIP condition report or lease PDF (8 characters, e.g. ABCD-EFGH): whether it was signed in ONZIP, the form and jurisdiction, when it was signed, which sides signed, and the SHA-256 of the final PDF. Give sha256 of the PDF in hand to check it is that exact file. Returns no names, addresses or home details.

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": {
      "code": "<code>"
    },
    "name": "onzip_verify_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesVerification code from the PDF footer, e.g. ABCD-EFGH.
sha256NoSHA-256 (hex) of the PDF you hold.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds value beyond that by listing the returned fields and, importantly, a privacy guarantee ('Returns no names, addresses or home details') that an agent could not infer from structured data. It does not cover behavior on an invalid/unknown code or on a sha256 mismatch, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense paragraph, front-loaded with what is checked, followed by the optional hash instruction and the privacy note. No filler sentences; every clause carries information.

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, and the description compensates by enumerating the fields that come back. Combined with annotations covering safety and idempotency and a fully documented schema, an agent has everything needed to call this correctly.

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, including the code format example and hex pattern. The description restates the code format and explains the sha256 parameter's purpose ('to check it is that exact file'), which is marginally more actionable than the schema's 'SHA-256 (hex) of the PDF you hold' but adds little new syntax or format detail.

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 ('Checks the verification code printed on an ONZIP condition report or lease PDF') and enumerates exactly what the check establishes: signing status, form, jurisdiction, signing date, signing parties, and the final PDF hash. An agent knows precisely what this returns 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?

Implies the use case clearly (verifying an ONZIP-stamped PDF you hold) and gives an explicit conditional instruction for the optional parameter: supply sha256 to confirm the file in hand is the exact signed artifact. No explicit exclusions or named alternatives, but the sibling list contains no overlapping document-verification tool, so the routing risk is low.

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