Skip to main content
Glama
pdf2mcp

pdf2mcp

by iSamBa

list_docs

Lists ingested PDFs available for search, returning filenames, chunk counts, and hashes so you can discover documents and choose filenames for search or reading.

Instructions

List all ingested PDFs available for search.

Start here to discover which documents are available. Returns filenames,
chunk counts, and file hashes. Use the filenames with search_in_doc,
get_sections, read_page, or read_section.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the payload shape: filenames, chunk counts, and file hashes, which tells the agent what identifiers to reuse downstream. The verb "List" and the absence of any mutation language make the read-only nature clear, though it does not state whether results are paginated or ordered.

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 short sentences, front-loaded with the purpose, then the entry-point guidance, then the concrete handoff to sibling tools. Every sentence contributes something an agent needs and none is redundant.

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

Completeness5/5

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

For a zero-parameter listing tool with an output schema already present, the description covers purpose, invocation context, and next steps, which is everything needed to call it correctly. Return-value detail is appropriately summarized rather than duplicated from the schema.

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

Parameters4/5

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

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline for zero-param tools applies. The description wastes no effort re-explaining inputs and instead spends its words on output and follow-up routing.

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?

States a specific verb and resource ("List all ingested PDFs available for search") and immediately frames the scope as the full corpus. It is clearly distinguishable from the sibling readers, which operate on a single document identified by filename.

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?

"Start here to discover which documents are available" gives an explicit entry-point rule, and the last sentence routes the agent onward by naming search_in_doc, get_sections, read_page, and read_section as the tools that consume the returned filenames. No when-not condition is given, but for a zero-argument discovery tool there is little ambiguity about when it applies.

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