Skip to main content
Glama

View task

view_task
Read-only

Read one task, including its whole note — search_tasks truncates notes.

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

Input Schema

NameRequiredDescriptionDefault
idYesTask reference: TASKAID-45, #45 or 45.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
listYes
nameYes
noteYes
whenYesCalendar date, "YYYY-MM-DD", or null for Inbox.
sourceYes
starredYes
durationYes
reminderYesTime of day on the `when` day, "HH:MM", or null for none.
completedYes
createdAtYes
updatedAtYes
completedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / createdAt
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "name",
      -  "completed",
      -  "starred",
      -  "when",
      -  "reminder",
      -  "note",
      -  "duration",
      -  "completedAt",
      -  "updatedAt",
      -  "source",
      -  "list"
      -]New value: +[
      +  "id",
      +  "url",
      +  "name",
      +  "completed",
      +  "starred",
      +  "when",
      +  "reminder",
      +  "note",
      +  "duration",
      +  "completedAt",
      +  "createdAt",
      +  "updatedAt",
      +  "source",
      +  "list"
      +]
  2. Changed12 schema fields changed
    • removedOutput schema / properties / completedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / completedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / duration / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / duration / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / reminder / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / reminder / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / when / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / when / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / reminder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Time of day on the `when` day, \"HH:MM\", or null for none."
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "url",
      -  "name",
      -  "completed",
      -  "starred",
      -  "when",
      -  "note",
      -  "duration",
      -  "completedAt",
      -  "updatedAt",
      -  "source",
      -  "list"
      -]New value: +[
      +  "id",
      +  "url",
      +  "name",
      +  "completed",
      +  "starred",
      +  "when",
      +  "reminder",
      +  "note",
      +  "duration",
      +  "completedAt",
      +  "updatedAt",
      +  "source",
      +  "list"
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds the meaningful behavioral fact that the returned note is complete rather than truncated, which is exactly the trait that differentiates a full read. It does not discuss behavior for a missing or invalid task id, which keeps it below 5.

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 front-loaded sentence with zero filler: the primary action comes first and the sibling contrast follows as a compact qualifier.

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 one-parameter, read-only retrieval tool with full schema coverage, annotations, and an output schema, the description supplies everything needed: what is fetched, that it is the complete note, and how it differs from the search sibling.

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 single id parameter already documents accepted reference forms (TASKAID-45, #45, 45), so the schema does the heavy lifting. The description adds no additional syntax or resolution rules, making the baseline 3 correct.

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 ("Read one task") plus a scope qualifier ("including its whole note"), and explicitly contrasts it with the sibling search_tasks, so the agent can tell the two apart without opening a schema.

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

Usage Guidelines4/5

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

The clause "search_tasks truncates notes" tells the agent the exact condition that should select this tool over the sibling. It stops short of an explicit when-not case (e.g., use search_tasks when only ids/titles are needed), leaving that for inference.

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