Skip to main content
Glama

read_publication_module

Read a publication module as a table of contents, resolving pmEntry titles and dmRef/pmRef targets from the CSDB, and return PM identification plus verification status.

Instructions

Read a publication module (PMC) as a table of contents: the pmEntry tree with titles, and for each dmRef/pmRef the resolved target (file, techName/infoName, issue) from the CSDB. Also returns the PM identification and a verification status.

Input Schema

NameRequiredDescriptionDefault
pmcNoPMC to read from the CSDB (e.g. "S1000DBIKE-B6865-EPWG1-00"; "PMC-" prefix optional). Alternative to path/xml.
xmlNoThe document as an XML string (alternative to path; max 5 MB).
pathNoFile path of the document.
verifyNoHow much to verify before reading: "schema" (default) runs XSD validation only; "full" also checks BREX along the brexDmRef chain and resolves references; "none" skips verification (reported as not-run).schema
csdbDirsNoExtra CSDB folders to search (in addition to S1000D_CSDB_DIR) for data modules by DMC, referenced objects, ACT/CCT/PCT and BREX.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that the tool reads from the CSDB, resolves dmRef/pmRef targets, and reports verification status, but it does not explain source precedence among pmc/xml/path, failure modes, or permission requirements.

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 two tightly constructed sentences with no filler. The core purpose and return contents are front-loaded and easy to scan.

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

Completeness4/5

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

There is no output schema, but the description sufficiently explains the return shape: pmEntry tree, resolved targets, PM identification, and verification status. It omits how the mutually alternative pmc/xml/path inputs are prioritized and what happens when none is supplied, which keeps it from a 5.

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%, so the schema already documents the five parameters, including the verify enum and csdbDirs behavior. The description adds little parameter-level meaning beyond mentioning verification status, so the baseline of 3 is appropriate.

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?

The description gives a specific verb and resource: 'Read a publication module (PMC) as a table of contents.' It also details the key output shape, including the pmEntry tree and resolved dmRef/pmRef targets. It does not explicitly differentiate itself from siblings such as read_data_module or resolve_reference, so it stops short of a 5.

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 guidance, no exclusions, and no named alternatives. A reader can infer that this tool is for PMC table-of-contents reads, but the description does not say when to choose it over read_data_module or resolve_reference.

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