Skip to main content
Glama
tobiasGuta

PrecisionPDF-MCP

by tobiasGuta

apply_annotation_removal

Remove a single existing PDF highlight with explicit user approval, preserving the original file and rejecting non-highlight annotations.

Instructions

Remove ONE existing highlight after explicit user approval.

Refuses to edit original PDFs, stale files, and non-highlight annotations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes
pageYes
xrefYes
expected_fingerprintYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral burden and does add value by disclosing rejection conditions (original PDFs, stale files, non-highlight annotations) and an approval gate. However it omits the permission/auth model, what side effects or irreversible changes occur on success, and what a successful result looks like.

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, zero filler, and the core action plus its approval gate are front-loaded. Efficient, though the brevity borders on under-specification for a 4-parameter mutation tool.

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

Completeness2/5

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

For a mutation tool with 4 undocumented required params, no annotations, and no output schema, the description is thin. It should explain the fingerprint/identity param, what 'stale' means operationally, and the success/error outcome, none of which are covered elsewhere.

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% and all four required parameters (file, page, xref, expected_fingerprint) are undocumented. The description only hints at the singular target via 'ONE existing highlight'; it never explains the fingerprint's role or how page/xref identify a highlight, so it fails to compensate for the schema gap.

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 and resource ('Remove ONE existing highlight') with the singular scope emphasized, which is more precise than the bare name. It implies the apply/propose split vs siblings like propose_annotation_removal, but never names or contrasts them explicitly.

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 real workflow precondition ('after explicit user approval') and a set of exclusions ('refuses to edit original PDFs, stale files, and non-highlight annotations'). It stops short of naming propose_annotation_removal as the intended preparatory step, which is the most relevant alternative an agent would weigh.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.