Skip to main content
Glama
Paperscope

Paperscope

Official

search_documents

Read-onlyIdempotent

Search local documents and return exact file and line citations so you can verify every result at its source.

Instructions

Search local documents and return exact file/line citations

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": {
      "query": "<query>"
    },
    "name": "search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results (default 10).
queryYesWhat to look for. At least 3 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without description help. The description adds only the return-value trait (file/line citations); it says nothing about ranking, coverage boundaries, or whether an index must exist, which is the kind of context annotations cannot supply.

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?

A single front-loaded sentence with zero filler; the action and the return characteristic are stated immediately with no redundancy.

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 two-parameter read tool with no output schema, the description is adequate but omits meaningful context: whether an index must be built first, what corpus 'local documents' spans, and how results are ordered or truncated. These are plausible agent questions that neither the schema nor the annotations answer.

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 description coverage is 100%: the schema already documents 'query' (min 3 characters) and 'limit' (default 10). The description adds no syntax, format, or matching-behavior detail beyond that, so the baseline 3 applies.

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 (search) and resource (local documents), plus a distinctive output trait (exact file/line citations). It is clear what the tool does, though it never contrasts itself with the sibling answer_documents, so an agent must infer the difference between raw search hits and synthesized answers.

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?

There is no explicit when-to-use, when-not-to-use, or prerequisite information (e.g., whether documents must be indexed first via index_documents/add_index_root). The mention of 'exact file/line citations' hints at a raw-retrieval use case, but the agent is left to infer the choice against answer_documents on its own.

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