Skip to main content
Glama

get_doc

Read-only

Fetch the raw stored content of a document. Defaults to your own handle and the latest version.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDocument name.
handleNoOwner handle. Defaults to the authenticated user.
versionNoVersion number. Defaults to the latest.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
appUrlYes
handleYes
rawUrlYes
deletedNo
snippetNo
versionYes
languageNo
visibilityNo
contentTypeNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds useful behavioral context by stating that the content is 'raw stored content' and that handle/version default to your own and latest respectively, which helps the agent predict the tool's behavior.

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 with no filler. The core action is front-loaded, followed by the most important default behaviors, making it easy to scan and understand.

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

Completeness5/5

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

The tool is simple, has full parameter documentation, a read-only annotation, and an output schema. The description, plus the structured data, gives an agent everything needed to invoke it correctly.

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 all three parameters (name, handle, version) are already documented in the schema. The description only restates the default behavior for handle and version, adding no extra meaning beyond the structured parameter descriptions.

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 uses a specific verb ('Fetch') and a clear resource ('raw stored content of a document'), which precisely identifies the operation. This distinguishes it from siblings like create_doc and search_docs without ambiguity.

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?

The description makes the basic usage clear: fetch a document's raw content, defaulting to your own handle and the latest version. However, it does not explicitly mention when to prefer this over search_docs or create_doc, leaving that comparison implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct operation: create, retrieve, and search. There is no overlap between the actions, and the descriptions reinforce their differing purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: create_doc, get_doc, search_docs. The only slight variation is singular 'doc' versus plural 'docs', which does not harm predictability.

Tool Count5/5

Three tools is a reasonable, focused set for a document storage service. Each tool handles a distinct core need and none feel redundant or unnecessary.

Completeness4/5

The core document lifecycle of create, read, and search is covered, with versioning handled through create. A minor gap is the absence of a delete or full list-all operation, though agents can likely work around that for most workflows.

Resources