Skip to main content
Glama

compare_pdfs

Compare two PDFs: byte identity, whether one file derives from the other, and what changed (pages, metadata, signature events). Reports the relationship the bytes show; it does not decide which file is the right one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filename_aNoOriginal filename, for the report header.
filename_bNoOriginal filename, for the report header.
file_a_base64YesFile content, base64-encoded.
file_b_base64YesFile content, base64-encoded.

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It provides meaningful context: the comparison is byte-based, it reports relationships rather than judgments, and it examines specific aspects (pages, metadata, signature events). This goes beyond the schema, though it doesn't explicitly mention read-only behavior or failure modes.

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?

The description is two sentences with no filler. The first sentence immediately states the action and resource, and the second sentence clarifies the output scope. Every word earns its place.

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?

Given no output schema, the description should clarify what the tool returns. It states it reports the relationship and lists the comparison dimensions, which gives a fair understanding. It lacks a detailed output format, but for a moderately complex tool, this is reasonably 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 description coverage is 100%, so each parameter (file_a_base64, file_b_base64, filename_a, filename_b) is adequately documented. The tool description adds no parameter-specific meaning, but none is needed; baseline 3 applies.

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 clearly states the verb 'Compare' with the resource 'two PDFs' and specifies the comparison dimensions: byte identity, derivation, and changes in pages, metadata, and signature events. It also explicitly distinguishes from sibling verify tools by noting it does not decide which file is correct, making the purpose unambiguous.

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?

The description implies the tool is used for comparing two PDFs, and the note about not deciding the right file sets expectations. However, it does not explicitly state when to use this tool over alternatives like verify_pdf, nor does it provide 'when not to use' guidance. No alternatives are named.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct resource: PDF comparison, email verification, PDF verification, and photo verification. There is no overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (verify_email, verify_pdf, verify_photo, compare_pdfs). The pattern is uniform with only a minor pluralization difference.

Tool Count5/5

With 4 tools, the server is well-scoped for document verification. Each tool adds distinct value without unnecessary bloat.

Completeness4/5

The tool set covers key verification scenarios for PDFs, emails, and photos. Missing are comparisons for emails and photos, but the core functionality is complete.

Resources