Skip to main content
Glama

pdf_repair

Read-onlyIdempotent

Attempt to recover a damaged or corrupted PDF client and server side from freedailypro

Input Schema

NameRequiredDescriptionDefault
fileBase64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds nothing beyond that: it does not say what happens when recovery fails, whether an unrepaired copy is returned, or what 'client and server side' means operationally. The hedged word 'Attempt' is the only hint that success is not guaranteed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

It is a single short sentence with the verb and resource front-loaded, which is good. But 'client and server side from freedailypro' is filler that consumes a third of the text without informing tool selection, so not every clause earns its place.

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

Completeness3/5

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

For a one-parameter tool with full annotation coverage and no output schema, the definition is minimally viable. Still missing: what the tool returns (repaired PDF bytes, a status, both?), whether the original is preserved, and any failure mode. An agent can invoke it but cannot predict the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter, so the description carries the full burden and fails to meet it. It never states that fileBase64 must be a base64-encoded PDF string, what size limits apply, or how to format the payload. The parameter name helps somewhat, but nothing compensates for the missing schema documentation.

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 opening clause states a specific verb and resource: recover a damaged or corrupted PDF. An agent can identify the operation and distinguish it from pdf_compress/pdf_merge etc. that assume intact inputs. However, the trailing fragment 'client and server side from freedailypro' muddies the scope rather than sharpening it, and no sibling is named.

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?

The only usage signal is the implied precondition that the file is damaged or corrupted. There is no guidance on when repair is appropriate versus re-uploading, no mention of failure cases, and no pointer to any sibling tool for intact PDFs. The agent must infer the trigger condition entirely.

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