Skip to main content
Glama

repair_pdf

Восстанавливает повреждённый PDF, который не открывается или открывается с ошибкой. file_url: публичный URL PDF-файла.

Input Schema

NameRequiredDescriptionDefault
file_urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It only says that a damaged PDF gets repaired; it says nothing about output behavior (new file vs. overwritten), limits on what can be repaired, permissions, or failure modes. This is a significant gap for an annotation-free tool.

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 short sentences with the purpose front-loaded and the single parameter appended. Every clause earns its place; only the very terse parameter line feels appended rather than integrated.

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?

The tool is simple (1 required param) and an output schema exists, so return values need not be explained. But with no annotations and only a one-clause behavior statement, the description leaves the repair semantics and limitations underspecified for the agent.

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 0%, so the description must compensate, and it does so partially by explaining file_url as 'публичный URL PDF-файла' — conveying both accessibility (public) and file type. However it adds no format, size, or validity constraints, so it is adequate but with gaps.

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?

States a specific verb+resource ('Восстанавливает повреждённый PDF') and adds the trigger condition ('не открывается или открывается с ошибкой'), so an agent can tell this apart from password-related siblings like unlock_pdf or protect_pdf. It stops short of naming an alternative, so it is clear but not fully differentiated.

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?

Gives a clear when-to-use condition: the PDF is damaged, won't open, or opens with an error. It does not state when NOT to use it or name alternatives among the many sibling PDF tools, so context is present but exclusions are absent.

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.