Skip to main content
Glama

Document

get_document
Read-onlyIdempotent

Read a single document by its path to return front matter and Markdown filtered to the allowed access level, supporting résumé drafting, interview prep, and recruiter answers.

Instructions

Read one document by path (e.g. data/projects/x.md, as returned by the other tools): its front matter and Markdown, filtered for the access level.

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": {
      "path": "<path>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds value beyond that by disclosing the return shape (front matter plus Markdown) and that output is 'filtered for the access level,' a behavioral trait the annotations do not convey.

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 sentence with the action, the argument, the example and the return content, all front-loaded. No sentence is redundant or padded.

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?

With no output schema and only one parameter, the description covers the essentials: what is read, in what format, and how access filtering affects the result. It stops short of describing behavior on a nonexistent path or on denied access, which would matter for an agent handling errors.

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?

Schema coverage is 0% for the single path parameter, so the description must carry the load. It does so by giving a concrete example format ('data/projects/x.md') and by stating where valid paths come from, which the bare string schema does not.

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 uses a specific verb and resource ('Read one document by path') and states what comes back ('its front matter and Markdown'). It separates itself from list/search siblings by framing the path as something produced by the other tools, though it never names a sibling explicitly.

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?

'As returned by the other tools' implies the path originates from a prior listing or search call, which is useful implied guidance. There is no explicit statement of when to prefer this over search or listing, nor of failure conditions such as a missing or inaccessible path.

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