Skip to main content
Glama

Read a task, document, card, or table

workspace_read
Read-onlyIdempotent

Read a task or document from a local Tisty workspace and return outlines, line slices, link graphs, tables, version history, or Markdown export for context retrieval.

Instructions

Read one task or doc (not both). Docs >12,000 chars (task pages >4,000) return an outline first; pass section, from/to, or chars for slices. Use view for cards/outlines, link graphs, highlights, tables, version history, or Markdown export.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "workspace_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo1-based end line (defaults to EOF; requires `from`)
docNoDocument ID or task-page filename (from workspace_search)
fromNo1-based start line for doc `content`
taskNoTask ID
viewNoWhat to return (default "content"); "card" gives outline+print+links
charsNoChar budget per chunk; returns `next` cursor
limitNoFor `view="links"`: max neighbours (default 50, max 100)
linksNoEdge filter for `view="links"` (default "all")
notesNoFor `task`: latest journal notes count (clipped 4000 chars); 0 returns all whole
printNoVersion fingerprint; returns `unchanged: true` if unmodified
tableNo1-based table index or heading above it (omit if single table)
cursorNoNext line cursor from prior chunked read (requires `print`)
fieldsNoFor `task`: subset of keys to return (`id` always included)
sectionNo0-based heading index (`at` from card) for `content` slice or sub-outline
versionNoPast version ID from `view="versions"` to read in place of current body

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safe read-only/idempotent profile; the description adds the non-obvious behavior that large docs return an outline first and that slices require `section`, `from`/`to`, or `chars`. It also surfaces the `print` fingerprint → `unchanged: true` short-circuit, which is real behavioral context an agent cannot get from annotations.

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 tight sentences with the target constraint front-loaded, followed by the size/slicing rule and the view-mode menu. No filler, and the most decision-relevant facts come first.

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 15-parameter read tool with no output schema and no required parameters, the description covers the main retrieval paths and the large-document fallback. Minor gaps remain around how `version`/`print`/`cursor` compose, but nothing essential for a correct first call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema lacks: the task/doc exclusivity and the outline-then-slice workflow tying `section`, `from`/`to`, and `chars` together. It does not explain `cursor`/`print` interaction or `notes` clipping in the prose, leaving some linkage to the schema.

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?

Opens with a specific verb and resource ('Read one `task` or `doc`') and immediately disambiguates the mutually exclusive target. An agent can distinguish this read tool from siblings like doc_edit or task_update without inspecting 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 Guidelines4/5

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

Gives concrete when-to-use rules: outline-first behavior for large docs and explicit conditions for switching to `view` (cards, links, marks, tables, versions, markdown). It stops short of naming an alternative tool or a when-not-to-use case, so it is clear context rather than full routing guidance.

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