Skip to main content
Glama

Read Task

read_task
Read-onlyIdempotent

Read a task: its brief, recent log entries newest first, and up to three artifacts. Use it before working on the task. With cursor, entry_id or include_recovery it returns only the header and those entries.

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": {
      "task_id": "<task_id>"
    },
    "name": "read_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many log entries per page, newest first.
cursorNoThe next_cursor from the previous page, unchanged; omit for the first page.
task_idYesThe task's ID or ref, such as web-app-3 or @core/web-app-3.
entry_idNoRead only this entry, such as one a search hit or mention names.
include_recoveryNoInstead, return earlier revisions of entries edited or deleted in the last 30 days, for edit_log_entry's restore_revision.

Output Schema

NameRequiredDescriptionDefault
taskYesTask header.
briefNoTask brief (objective, constraints, done criteria; first reads only).
entriesYesLog entries other than the brief, newest first.
noticesNoVenom reminders to read first.
team_idYesOwning team ID, or empty if personal.
artifactsNoUp to three active artifacts (first reads only).
active_workNoLive advisory slices claimed on this task by active sessions.
next_cursorNoNext page cursor.
project_statusYesProject status; archived tasks are read-only.
skills_continuationNoCall to list skills for this task.
artifacts_continuationNoCall to list remaining artifacts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"To continue a list, the next_cursor the previous page returned, passed unchanged. Omit it to start from the first page."New value: +"The next_cursor from the previous page, unchanged; omit for the first page."
    • changedInput schema / properties / include_recovery / description
      Previous value: -"Return earlier revisions of entries edited or deleted in the last 30 days instead; edit_log_entry restores one with restore_revision."New value: +"Instead, return earlier revisions of entries edited or deleted in the last 30 days, for edit_log_entry's restore_revision."
    • changedInput schema / properties / limit / description
      Previous value: -"How many log entries to show, newest first; page on with cursor."New value: +"How many log entries per page, newest first."
    • changedInput schema / properties / task_id / description
      Previous value: -"Which task: its ID, or its ref such as web-app-3 (also with a team prefix, @core/web-app-3)."New value: +"The task's ID or ref, such as web-app-3 or @core/web-app-3."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: default page size and ordering, a three-artifact cap, and — most usefully — that supplying cursor, entry_id or include_recovery silently switches the response to a header-only shape rather than the full brief. That mode-switch disclosure is the kind of non-obvious behavior annotations cannot express.

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, zero filler: the payload contents come first, the usage cue second, and the mode-switching caveat last. Every clause carries information an agent needs.

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?

With an output schema present, return values need not be spelled out, and the description covers the main behavioral surprise (reduced response when cursor/entry_id/include_recovery is set). What is left unstated — how the three artifacts are chosen, or pagination termination — is minor for a read-only tool of this complexity.

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 100%, so the baseline is 3. The description exceeds that by explaining the interaction between parameters — that cursor/entry_id/include_recovery change the response shape to header-plus-those-entries — which the per-property schema text describes only individually. It does not restate format or pattern constraints, which is appropriate.

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?

"Read a task: its brief, recent log entries newest first, and up to three artifacts" names a specific verb and resource and enumerates the returned contents, so an agent knows exactly what this does versus a list operation. It stops short of explicitly contrasting itself with siblings such as list_tasks or read_project, so it lands at 4 rather than 5.

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?

"Use it before working on the task" gives a clear triggering condition, and the second sentence defines when the alternate modes apply (cursor, entry_id, include_recovery). There is no explicit when-not guidance or named alternative, but the usage context is unambiguous for a read tool.

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.