Skip to main content
Glama

Read work context

read_work_context

Get a concise overview of a work item—artifact paths, context mode, and recent logs—plus optional summaries for closed work to restore context quickly.

Instructions

Return a concise overview of one work including artifact paths, context mode, recent logs, and optional summary loading for consolidated closed work.

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": "read_work_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idNoOptional explicit work id. Defaults to the active work when unambiguous.
include_summaryNoWhen true, inline summary.md for consolidated closed work. Leave false for the cheaper default re-entry path.
include_recent_logsNoWhen true, include recent raw log evidence for consolidated closed work. Active and closed/raw work still include logs by default.

Output Schema

NameRequiredDescriptionDefault
contextYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Return' implies a read-only retrieval with no side effects and the sentence discloses what is included (artifact paths, context mode, logs, optional summary), but it never states cost, permissions, or whether anything is mutated or cached.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the payload list is ordered from most to least stable. The trailing phrase 'for consolidated closed work' is slightly jargon-heavy and its referent is only clear after reading the schema.

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?

The tool has an output schema, so return values need not be explained, and all three parameters are optional with full schema coverage. The only meaningful gap is routing guidance relative to sibling context/log tools, which keeps it short of a 5.

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%, so the schema already documents all three parameters in detail. The description echoes the themes (recent logs, optional summary loading) without adding format, cost, or interaction semantics beyond what the schema states, so the baseline of 3 applies.

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 names a specific verb and resource ('Return a concise overview of one work') and enumerates the payload: artifact paths, context mode, recent logs, and optional summary loading. It does not explicitly contrast itself with nearby siblings such as get_active_context or get_recent_logs, so the reader must infer the boundary.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The phrase 'for consolidated closed work' hints at a condition for summary loading, but nothing tells the agent when to pick this over get_active_context, get_recent_logs, or list_works, nor when re-entry should use this tool.

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