Skip to main content
Glama

read_doc

Retrieve workspace documents with tier labeling and extract specific markdown sections by exact heading, enabling quick access to architecture notes and task routing details.

Instructions

Read a workspace document with tier labeling. Optional section extracts a markdown heading.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDocument path. Paths starting with "content/" are MCP-owned (project-relative). All others are workspace-relative (e.g. "pypto-3.0-notes/arch.md"). Use list_knowledge_topics() to discover registered paths.
sectionNoExtract a specific markdown section by exact heading text (case-sensitive). Leave empty to read from the top. Use read_doc with a bad section name to see the TOC.
max_charsNoMaximum characters to return (500–50000)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It mentions 'tier labeling' and section extraction, but does not describe error behavior (e.g., invalid section), permission requirements, side effects, or return format. The schema does provide some behavior cues (e.g., bad section shows TOC), but the description itself is too sparse to be transparent.

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 short sentences, front-loading the primary action ('Read a workspace document'). Every word adds value; no filler or redundant information. Ideal conciseness.

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?

Given the presence of a detailed input schema and an output schema, the description is mostly sufficient for a straightforward read tool. It lacks an explicit tie to the broader workflow (e.g., when to use tier labeling), but the schema compensates by covering path discovery and error behavior. The main gap is the absence of a clear 'when to use' context, but the tool is simple enough that a 4 is warranted.

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% and quite detailed for all three parameters (path semantics, section extraction behavior, max_chars bounds). The description only adds a small clarifying clause ('extracts a markdown heading') which is largely redundant with the schema. Baseline of 3 is appropriate because the schema does the heavy lifting.

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 states a specific action ('Read a workspace document') with a distinctive feature ('tier labeling') and an optional section-extraction capability. This clearly differentiates it from sibling tools like read_file, which reads arbitrary files, and list_knowledge_topics, which discovers paths.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: use this to read workspace documents. The schema's path description mentions using list_knowledge_topics to discover paths, which is a usage hint, but the main description does not explicitly state when to prefer read_doc over alternatives (e.g., read_file, search_code) or when not to use it.

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/georgebisbas/mcp-hw-native-sys'

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