Skip to main content
Glama

Get document content

get_document_content
Read-onlyIdempotent

Get the full text content of a specific document, lecture session, or flashcard set. Use this when you need to read the actual content of a material to answer questions about it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdNoDocument ID to reference
flashcardSetIdNoFlashcard set ID to reference
lectureSessionIdNoLecture session ID to reference

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds only that the full text is returned; it says nothing about size limits, truncation, pagination, or behavior when none/multiple IDs are supplied. Useful but thin on top of the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and scope, with no redundant restatement of the title. The second sentence earns its place as routing guidance, though it is slightly generic.

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

Completeness3/5

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

With no output schema and three optional, mutually ambiguous ID parameters, the description should clarify how to select the identifier and what the returned content looks like. It covers the happy path but leaves the calling convention underspecified.

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 three ID parameters are already documented. The description echoes the same three material types but never resolves the key ambiguity: all three parameters are optional, and an agent is not told whether to supply exactly one, whether multiple are allowed, or how conflicts are resolved.

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?

States a specific verb and resource ('Get the full text content') and enumerates the three material types it covers, which distinguishes it implicitly from the metadata-oriented sibling get_document. It stops short of naming that sibling or explicitly contrasting content vs. metadata, so the differentiation is inferable rather than stated.

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

Usage Guidelines4/5

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

Gives a clear when-to-use condition: read the actual content to answer questions about a material. It does not name alternatives (e.g., get_document for metadata, search_library for discovery) or state when this tool is the wrong choice, so routing to siblings is left to inference.

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.

Resources