Get a document
get_documentReturn the full Markdown of one document by id, e.g. "writing/the-handoff" or "book/preface". Get ids from search or list_corpus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id, e.g. "book/preface" |
get_documentReturn the full Markdown of one document by id, e.g. "writing/the-handoff" or "book/preface". Get ids from search or list_corpus.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id, e.g. "book/preface" |
Changes observed during successful MCP inspections. Dates show when Glama detected each change.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the agent knows it's a read operation. The description adds value by specifying that it returns the full Markdown, providing behavioral context beyond the annotation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose and format. No wasted words; every part is informative.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (one required parameter, no output schema, no nested objects), the description covers all needed context: what it returns, how to get the id, and example formats. It is entirely sufficient for an agent to use correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already describes the parameter 'id' with an example. The description reinforces this with additional examples ('writing/the-handoff', 'book/preface'), adding clarity beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the action ('Return the full Markdown'), the resource ('one document'), and the identifier format with examples ('writing/the-handoff'). It also distinguishes from sibling tools by noting that ids come from search or list_corpus.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly indicates when to use this tool: when you have a document id, and suggests retrieving ids from search or list_corpus. It does not explicitly state when not to use it, but the context is clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool targets a distinct resource or action: documents, operant results, profile, repo profiles, corpus listing, project listing, repo profile listing, and full-text search. No overlap in functionality.
Most tools follow a verb_noun pattern (get_, list_, search), with 'search' being a lone verb but still clear. Minor inconsistency: 'list_corpus' uses singular 'corpus' but lists multiple items.
8 tools is well-scoped for a portfolio site, covering profile, documents, projects, repo profiles, and search without being excessive or insufficient.
Covers core read-only functionalities: profile, documents, projects, repo profiles, and search. Missing a dedicated 'get_project' tool, but list_projects provides sufficient detail for the portfolio context.