Skip to main content
Glama

PDFCheck Online

analyze_pdf

Upload and analyze a PDF file. Returns metadata, creation date, author, software used, page count, and verification checks. Provide the file content as a base64-encoded string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesOriginal filename (e.g. "report.pdf")
file_base64YesBase64-encoded PDF file content

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the return payload (metadata, dates, author, software, page count, verification checks) plus the required base64 input format. However, it says nothing about file size limits, authentication requirements, persistence of the uploaded file, or what 'verification checks' actually evaluates, so significant behavioral gaps remain.

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?

Two tight sentences, front-loaded with the action and then the return values. The output enumeration is justified because no output schema exists. Minor redundancy with the schema on the base64 input, but nothing is wasted.

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 2-parameter, no-output-schema tool, the description compensates well by listing what is returned and how to pass input. Remaining gaps are constraint/error information (size limits, failure modes) rather than anything required to invoke it 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 description coverage is 100% (both filename and file_base64 are documented in the schema), so the baseline is 3. The description's note about base64-encoding essentially restates the schema's 'Base64-encoded PDF file content' without adding format or constraint details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb+resource ('Upload and analyze a PDF file') and enumerates the returned fields (metadata, creation date, author, software, page count, verification checks). It is readily distinguishable from siblings such as list_analyses and get_errors, which deal with stored results rather than analysis of a supplied file, though it never explicitly names those siblings.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the sibling analysis/error tools, no prerequisites, and no exclusions. Usage is only implicitly inferable from the name and the mention of supplying file content.

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