Skip to main content
Glama

read_document

Retrieves a specific document or task from a workspace using its workspace and document ID, so you can inspect regular documents or markdown tasklist items.

Instructions

Read a specific document or task. Works with both regular documents and tasks from tasklists (tasks are markdown documents).

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

Input Schema

NameRequiredDescriptionDefault
workspaceYesWorkspace path/name
documentIdYesDocument ID, path from registry, or task path (e.g., "documents/Mobile Tasks/Core/task-name.md")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully clarifies that tasklist tasks are markdown documents, but omits permissions, missing-document behavior, return content, and any explicit read-only guarantee beyond the verb 'Read.'

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 with no wasted wording. Purpose is front-loaded, and the parenthetical adds useful clarification about task representation.

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?

For a simple two-parameter read tool, the description covers the key document-versus-task duality. But with no output schema, it does not specify whether the tool returns full content, metadata, or something else, leaving a meaningful gap.

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%, including a task path example for documentId. The description adds conceptual context that tasks are markdown documents, but no new syntax, constraints, or parameter guidance beyond the schema.

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: 'Read a specific document or task.' This clearly distinguishes it from siblings like read_canvas, read_database, and read_html_file by resource type, though it does not explicitly name scope boundaries.

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?

Explains applicable object types by saying it works with regular documents and tasklist tasks. However, it gives no explicit when-not guidance or alternatives, so usage is only implied for retrieving a single document or task.

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