Skip to main content
Glama

pdf

Analyze PDF documents from file paths or URLs. Provide specific questions to extract insights, navigate pages, and get answers directly from your PDFs.

Instructions

Analyze PDF documents from file paths or URLs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pdfNoSingle PDF path or URL
pdfsNoMultiple PDF paths or URLs
modelNoModel to use for analysis
pagesNoPage range (e.g. '1-5', '1,3,5')
promptNoAnalysis prompt / question about the PDF
sessionKeyNoOpenClaw session key for routing
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Analyze' without specifying whether the tool extracts text, downloads files, reads local paths, makes network requests, or returns structured output. No side effects, permissions, or output behavior are disclosed.

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?

The description is a single, well-structured sentence that front-loads the verb and resource. It contains no redundant or filler content, making it highly concise and easy to parse.

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?

Given the tool has 6 parameters, no annotations, and no output schema, the one-line description is far from complete. It fails to explain what 'analyze' returns, how to use the 'model' or 'prompt' parameters, or how the tool behaves in practice. The agent is left to infer all usage context from parameter names and descriptions alone.

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?

The parameter schema provides descriptions for all 6 parameters, so the baseline is 3. The tool description does not add any parameter-specific meaning beyond what the schema already states; it merely mirrors the fact that inputs can be paths or URLs, which is already documented in the schema.

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 clearly states the tool's purpose with a specific verb ('Analyze'), a well-defined resource ('PDF documents'), and a source qualifier ('from file paths or URLs'). It is instantly distinguishable from sibling tools like web_search and web_fetch, which are general-purpose and not PDF-specific.

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 description offers no guidance on when to use this tool versus alternatives. It does not mention prerequisites, exclusions, or compare with related tools such as web_fetch or browser for fetching PDFs from URLs. The intended use case is implied but never explicitly stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/haliphax-ai/openclaw-tools-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server