Skip to main content
Glama

Get document

get_document
Read-onlyIdempotent

Get the metadata of a single uNotes document by ID: title, type, course, school, year, season, professor, language, popularity counters, and its public URL. Use get_document_content to read the actual text.

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

Input Schema

NameRequiredDescriptionDefault
documentIdYesThe document ID to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive lookup. The description adds useful behavioral context by listing the metadata returned and the public URL, which matters because there is no output schema; it does not cover error behavior for missing or invalid IDs.

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?

Two sentences, front-loaded with the purpose and fields returned, followed by a precise alternative for reading content. There is no wasted text.

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 simple one-parameter lookup, the description covers purpose, return contents, and the content-reading alternative, and annotations cover safety. The main gap is not distinguishing this tool from get_document_metadata, which could create selection ambiguity.

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%, and the sole documentId parameter is documented as 'The document ID to look up.' The description adds little beyond 'by ID,' so the schema is doing the substantive parameter documentation.

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 gives a specific verb and resource: retrieve metadata for one uNotes document by ID, and it lists the metadata fields returned. It clearly distinguishes this from reading document text via get_document_content, but it does not address the similarly named sibling get_document_metadata.

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?

It explicitly says to use get_document_content when the actual text is needed, which is useful routing guidance. However, it does not clarify when to use this tool versus get_document_metadata, so the alternative guidance is incomplete.

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