Skip to main content
Glama

Get full document

knowledge_get_full
Read-onlyIdempotent

Full text of one library document, by its k<N> ref. The ref comes from a recent knowledge_search (k1, k7). knowledge_get returns abstracts and matching passages, which usually suffice; this returns the whole paper. Refs marked [ref-only] have no full text, so for those it returns the same abstract knowledge_get does.

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": {
      "document_id": "<document_id>"
    },
    "name": "knowledge_get_full"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYesRef like `k1`/`k7` from a recent knowledge_search. Titles, DOIs and document uuids are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description correctly spends its budget on behavior the annotations cannot express: the [ref-only] fallback where output silently equals `knowledge_get`'s abstract, and the requirement that the ref be recent. It does not discuss output size, truncation, or what a stale ref yields, which is the remaining gap.

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?

Three short sentences, front-loaded with the resource, then the ref source, then the sibling comparison and the edge case. Nothing is repeated and no filler appears.

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?

For a single-parameter read with full schema coverage, the description covers what it returns ('the whole paper') and the degenerate case. Minor omissions remain: nothing about very large documents or whether the text is paginated, but no output schema exists to cover that either.

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 coverage is 100% and already states that titles, DOIs and uuids are rejected, so the description's parameter content largely restates it. The one addition is the freshness qualifier ('recent knowledge_search'), which is a mild but real semantic constraint beyond the schema. Baseline 3 fits.

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?

States a specific verb and resource ('full text of one library document') and immediately binds it to the `k<N>` ref, which distinguishes it cleanly from `knowledge_get` (abstracts/passages) and `knowledge_search` (ref origin). An agent can pick this tool without opening the schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: `knowledge_get` 'usually suffice[s]', this one is for the whole paper, and [ref-only] items degrade to the abstract. That is a named alternative plus the condition that selects each, which is the top of the scale.

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