Skip to main content
Glama

Get a task

get_task
Read-onlyIdempotent

Get one task's status, title, repository and pull request. Works for any task in the workspace, wherever it started. Reads only.

Input Schema

NameRequiredDescriptionDefault
task_idYesThe task id (from list_tasks).
workspace_idNoThe task's workspace id (from whoami). Optional: Sinatra finds it from task_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/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 fully covered. The description's 'Reads only' merely restates readOnlyHint; the only added value is the workspace-wide scope note.

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?

Three short sentences, with the core purpose front-loaded and no filler. The final 'Reads only' sentence is slightly redundant with the readOnlyHint annotation but is cheap and harmless.

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 simple single-resource read with full annotation coverage, the definition is nearly complete; it even enumerates return fields in lieu of an output schema. Only the absence of explicit alternative-routing keeps it from the top mark.

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 both task_id and workspace_id are already documented, including that workspace_id is optional and derived from task_id. The description adds no parameter detail beyond the schema baseline.

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 and resource (get one task) and enumerates what it returns: status, title, repository, pull request. The singular 'one task' implicitly distinguishes it from list_tasks, though no sibling is named explicitly.

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?

'Works for any task in the workspace, wherever it started' gives useful scope context, implying it is safe to call regardless of origin. However, it never states when to prefer this over list_tasks or get_messages, so usage is only implied.

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