Skip to main content
Glama

pqc_read_document

Read-onlyIdempotent

Fetch source-backed passages from cataloged publisher documents by locating a literal phrase, then continue reading from a line number for audit and migration guidance.

Instructions

Fetch a current passage from a cataloged publisher. Locate a literal phrase and continue by line number.

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": {
      "source": "<source>"
    },
    "name": "pqc_read_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
findNo
sourceYes
startLineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuine context beyond them: content is "current" (versioned/live rather than archived) and matching is "literal" rather than semantic. It omits passage size, pagination/truncation behavior, and what happens on multiple matches, which matter for an open-world fetch.

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 tight sentences with no filler, and the primary operation is front-loaded. The brevity edges toward cryptic rather than wasteful, but every sentence carries information.

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 three-parameter read tool with no output schema, the essentials are present but key gaps remain: what a "passage" contains, whether find overrides startLine or both apply, and how to page past a returned passage. An agent could call it, but not confidently predict the result shape.

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 0%, so the description must carry the load and it only partly does: "literal phrase" clarifies that find is exact-substring matching and "line number" clarifies startLine is a line-based offset. The required source parameter and its fourteen enum values get no explanation at all, and the interaction between find and startLine is left ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Fetch a current passage from a cataloged publisher" gives a verb and a resource, but "cataloged publisher" is opaque against a source enum of topics (tls, jwt, argon2, cf-guide), and nothing distinguishes it from the sibling pqc_read_guide. The second sentence clarifies the two access modes but not the object being returned.

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?

"Locate a literal phrase and continue by line number" hints at how to drive the tool but never says when to choose it over pqc_read_guide or pqc_search, nor when not to use it. No prerequisites or exclusions are stated.

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