Skip to main content
Glama

KeepPlain

Get Task Context

get_task_context
Read-only

Read private task context after selecting a task. Returns source excerpts without a paid summary call. Check the actual checkout before continuing. Fetch more session turns if excerpts are insufficient.

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

Input Schema

NameRequiredDescriptionDefault
cursorNo
task_idYes
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context — that no paid summary call is required and that pagination via more turns is possible — but omits preconditions (auth/private-data access) and the shape of the returned excerpts.

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

Conciseness3/5

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

Four short sentences are front-loaded and mostly earn their place, but 'Check the actual checkout before continuing' is ambiguous filler that doesn't clarify a check or action the agent can perform.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and 0% schema coverage, the description needed to compensate by explaining return contents and parameter meaning. It only says 'source excerpts' and leaves all three parameters and the excerpt format undocumented.

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

Parameters2/5

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

Schema description coverage is 0% across 3 parameters, so the description carries the full burden. It does not explain task_id (required), max_chars bounds, or cursor usage; 'fetch more session turns' only loosely gestures at pagination.

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+resource ('Read private task context') and clarifies the return is source excerpts rather than a paid summary. It hints at differentiation from summary-oriented siblings but never names one, so an agent must infer the boundary with get_session_excerpt.

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?

Gives some sequencing context ('after selecting a task', fetch more turns if excerpts are insufficient), which implies when to use it. However, 'Check the actual checkout before continuing' is opaque and no alternative sibling is named for the case when a summary is actually wanted.

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.