Skip to main content
Glama

get_task

Retrieves a single task by ID and returns it as JSON without changing anything, so you can inspect a known task.

Instructions

Get one task by id and change nothing. Returns the task as JSON. Fields without a value are not in the JSON. Use it when you know the id. To find tasks by text, use search_tasks. To see a view such as today or inbox, use list_tasks. An unknown id fails with 'There is no task with id N.'

Input Schema

NameRequiredDescriptionDefault
idYesThe task id from list_tasks, search_tasks or add_task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / id / description
      Previous value: -"The task id."New value: +"The task id from list_tasks, search_tasks or add_task."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it declares read-only semantics ('change nothing'), the serialization format, the omission rule for empty fields, and the exact failure message for an unknown id. That is more behavioral disclosure than most read tools provide.

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?

Four short sentences, front-loaded with purpose and effect, then routing, then the error case. Every sentence adds information; nothing repeats the schema or title.

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

Completeness5/5

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

For a single-parameter read tool with no annotations and no output schema, the description covers purpose, return shape, field-omission behavior, error semantics, and sibling routing. Nothing an agent needs to call it correctly is missing.

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% and the schema already explains where the id comes from (list_tasks, search_tasks, add_task). The description only adds the trivial 'use it when you know the id', so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 by id') plus the explicit non-effect ('change nothing'), which separates it from every mutating sibling. The return contract ('Returns the task as JSON') is stated up front.

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

Usage Guidelines5/5

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

Gives the positive trigger ('Use it when you know the id') and names both alternatives with their selecting conditions: search_tasks for text lookup, list_tasks for views like today or inbox. No inference required.

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