Skip to main content
Glama

Get Task

get-task-tool
Read-onlyIdempotent

Get a single task by ID with full details and relationships.

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": {
      "id": "<id>"
    },
    "name": "get-task-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe task ID to retrieve.
includeNoRelated records to expand in response. To-many relationships return at most 25 records with truncation metadata.

Output Schema

NameRequiredDescriptionDefault
dataYes
relationship_metaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / include / items
      Added value: +{
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/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 adds 'full details and relationships', which hints at payload breadth, but says nothing about truncation behavior, missing-ID errors, or how expansions affect the response — all relevant for a tool whose whole job is returning a record.

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?

A single sentence with the key scope qualifier ('single', 'by ID') front-loaded and no filler. Nothing could be removed without losing information.

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, full annotation coverage, and complete parameter documentation, the terse description is nearly sufficient for correct invocation. The only gap is behavioral edge cases (nonexistent ID, when to request expansions), which a slightly richer description could carry.

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 parameters are already documented, including the 25-record truncation detail for expansions. The description's phrase 'relationships' loosely corresponds to the include parameter but adds no syntax, defaults, or allowed values beyond the schema, 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 states a specific verb and resource ('Get a single task') plus the identifying key ('by ID'), which distinguishes it from bulk/list style siblings. It falls short of a 5 only because it does not name or contrast any sibling tool.

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?

'Get a single task by ID' implies a fetch-one use case, so the agent can infer it is not for listing or searching. There is no explicit when-to-use, no prerequisites, and no statement about when this is preferable to other read tools such as aggregate or list endpoints.

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.