Skip to main content
Glama

European Accessibility Act (EAA) & EN 301 549 Auditor

ada_inspect_public_pdf_ua

Read-onlyIdempotent

Fetches a public https:// PDF file (SSRF-hardened, 2 MB stream cap) and inspects its binary and /FlateDecode object streams against ISO 14289-1 (PDF/UA-1), WCAG 2.1 AA, and 28 CFR Part 35 (/Marked true, /StructTreeRoot, pdfuaid:part=1, /Lang, /DisplayDocTitle, scanned OCR vs born-digital fonts, and page count).

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": {
      "url": "<url>"
    },
    "name": "ada_inspect_public_pdf_ua"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic https:// URL of a PDF document to inspect.
proKeyNoOptional Second Foreman SC1. Pro license key to unlock the full step-by-step ISO 14289-1 remediation manifest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/destructive-free annotations, the description adds real operational context: SSRF hardening, a 2 MB stream cap, and the fact that only /FlateDecode object streams are decompressed. It stops short of saying whether hitting the 2 MB cap truncates the verdict or aborts the call, which is the one behavior an agent would still want.

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?

One front-loaded sentence with no filler, and the most important constraints (public https, size cap, standards) come first. The nested parenthetical containing nine compliance markers makes it dense to parse, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only inspection tool with no output schema, the description covers input eligibility, fetch constraints, and the full checklist of evaluated signals, which effectively implies the return shape. Only the partial-inspection semantics at the 2 MB cap are left unstated.

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 description coverage is 100%, so both url and proKey are already documented in structured data. The description reinforces the "public https://" restriction on url but says nothing about proKey or how its absence degrades results, leaving it at the schema baseline.

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?

"Fetches a public https:// PDF file ... and inspects ... against ISO 14289-1 (PDF/UA-1), WCAG 2.1 AA, and 28 CFR Part 35" gives a specific verb plus resource plus the exact standards evaluated, and enumerates the concrete markers checked (/Marked, /StructTreeRoot, /Lang, etc.). This clearly separates it from the sibling ada_estimate_pdf_ua_remediation, which estimates effort rather than inspecting a document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by "Fetches a public https:// PDF file" and the "public" qualifier hints at what inputs are ineligible, but there is no explicit when-to-use versus the remediation-estimate sibling and no stated exclusions. The agent must infer that this is the diagnostic step and the sibling is the planning step.

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.