Skip to main content
Glama

Restore task

restore_task
Destructive

Use this with list_tasks onlyDeleted/includeDeleted to recover deleted tasks.

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": {
      "task_number": "<task_number>",
      "board_id": "<board_id>"
    },
    "name": "restore_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
board_idYes
task_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / board_id / description
      Removed value: -"Board ID where the task belongs."
    • removedInput schema / properties / task_number / description
      Removed value: -"Deleted task number in board scope."
  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 destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the agent knows this is a non-idempotent mutation. The description adds only the discovery dependency; it does not explain what state the task returns to (original status, position, assignee), whether restoring a non-deleted task errors, or why a restore is flagged destructive.

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?

One sentence, no filler, with the usage dependency front-loaded. It would be marginally stronger if it led with the action ('Restore a deleted task') and then the workflow hint, but nothing is wasted.

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

Completeness3/5

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

For a two-parameter destructive mutation with no output schema and zero schema descriptions, the definition covers the discovery path but omits return behavior, failure modes, and post-restore state. An agent could call it correctly but cannot predict the outcome.

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 0%, so both required parameters (task_number, board_id) are undocumented in the schema. The description partially compensates by pointing to list_tasks with onlyDeleted/includeDeleted as the source of those values, but it does not state the meaning, format, or constraints of either field.

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 action on a specific resource: recovering deleted tasks, matching the tool name restore_task. It is distinguishable from restore_board by the word 'tasks', but it never explicitly says it restores exactly one task identified by task_number and board_id.

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?

It gives a concrete precondition and workflow: find the task first via list_tasks with onlyDeleted/includeDeleted, then restore it. It does not say when not to use it or what happens if the task is not actually deleted, so it stops short of full when/when-not guidance.

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