Skip to main content
Glama
local-pc-mcp

local-pc-mcp

by contra333

Read PDF pages

file_read_pdf
Read-only

Read pages from a PDF locally and render a page as an image for scanned content or figures; use start_page and max_pages to limit results.

Instructions

Read PDF pages (1-based, max 20). render=true returns one page image for scans/figures. Local read policy applies.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "file_read_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
renderNo
max_pagesNo
start_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already cover read-only, non-destructive, and non-open-world behavior. The description adds that rendering produces an image, that pages are 1-based, and that reads are capped at 20 pages, but it leaves output shape for render=false and the meaning of 'local read policy' vague.

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?

Three compact clauses, front-loaded with the main action; no redundant restatement of schema or annotations. The only slightly vague clause is 'Local read policy applies', but it is brief.

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 simple four-parameter read tool, the core operation, page range, and render option are covered. However, with no output schema and no schema parameter descriptions, it should clarify what render=false returns, the exact path requirement, and what the local read policy entails.

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?

With 0% schema description coverage, the description supplies useful semantics for three parameters: render=true returns an image, start_page is 1-based, and max_pages is capped at 20. It does not explain the path parameter or the interaction between render and max_pages.

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 names a specific resource and operation—reading PDF pages—and distinguishes it from generic file-read siblings by its PDF/page scoping. It also states page indexing and limit, so the intended action is clear.

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?

It gives one useful situational cue: render=true is for scans/figures and returns an image. It does not say when to choose this over file_read/file_read_lines, nor when not to use it; local policy is referenced but not explained.

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