Skip to main content
Glama

task_context

Read-only

Returns a task or bug by ID or number (unique within the company): spec, gist (gistInfo.stale - the spec changed after the gist), category, type (severity for bugs; bugType - defect nature), feature (feature.spec with includeFeatureSpec; feature.plan - a window of the plan), relations (dependencies - what it waits for; blockedTasks - what waits for it), allowedActions, specRevision, productID and a page of the task chat. Imported designs are in designs (design: markers; snapshotFID, contextFID with contextSize, assetsFID) the design block holds design files and the main frames of the task's modules (for visual work), and attachments are in attaches by fid; raw design links without a designs entry are not imported. Useful when the user mentions a task number or asks about a task.

Input Schema

NameRequiredDescriptionDefault
IDNoTask ID; preferred over key.
keyNoTask number without a prefix, e.g. 25865, if the ID is unknown.
chatAfterNoRead messages newer than chat.after.
chatLimitNoChat messages to return (default 20, max 100).
chatBeforeNoRead messages older than chat.before.
includeFeatureSpecNotrue includes the full feature spec (feature.spec); omitted by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / chatLimit / maximum
      Previous value: -9007199254740991New value: +100
    • changedInput schema / properties / chatLimit / minimum
      Previous value: --9007199254740991New value: +1
    • removedInput schema / properties / key / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / key / minimum
      Removed value: --9007199254740991
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/destructive=false, so safety is covered; the description goes further by disclosing the shape of the return (gist staleness, relations semantics, allowedActions, specRevision) and an edge case ("raw design links without a designs entry are not imported"). It omits auth and rate-limit behavior, so not a 5.

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?

Purpose is front-loaded in the first clause, but the body is a dense run-on enumerating return fields in one sprawling sentence. Given there is no output schema, the length is somewhat justified, but it is hard to scan.

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 no output schema, the description must carry return documentation, and it does so thoroughly, covering spec, gist, relations, designs, and attachments for a tool with nested objects. Minor gap on chat pagination/ordering behavior beyond what the schema states.

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 coverage is 100%, so the schema already documents all six parameters. The description adds only marginal linkage, tying includeFeatureSpec to feature.spec and "ID or number" to the ID/key pair; it says nothing about the chatAfter/chatBefore/chatLimit pagination object semantics.

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 ("Returns a task or bug") with a precise scope ("by ID or number (unique within the company)") and enumerates the returned domain fields. An agent can distinguish it from a write like task_update, but no sibling tool is named to sharpen the boundary against task_search or task_evaluation_context.

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?

"Useful when the user mentions a task number or asks about a task" gives an implied trigger but no when-not or alternative routing. With siblings such as task_search and task_evaluation_context present, the description never tells the agent which to pick.

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.

Resources