Skip to main content
Glama

unarchive_task

Destructive

Puts a task (or several — taskId accepts an array) back into live work. Same batch contract as archive_task: succeeded/failed, each id independent.

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": {
      "taskId": "<taskId>"
    },
    "name": "unarchive_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesONE identifier, or UP TO 100 (array) — same contract as `archive_task`: each id is unarchived INDEPENDENTLY, `succeeded`/`failed` in batch form.
claimTokenNoYOUR claim's token (from `claim_task`) — REQUIRED to write to a task a lease holds: without it `CLAIM_HELD`, a stale one `CLAIM_LOST`. A SECRET kept out of every written text. A write carrying it extends the lease without touching the declared progress; ending the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / claimToken / description
      Previous value: -"The token of YOUR claim (returned by `claim_task`) — REQUIRED to write to a task a lease holds: without it, the refusal is `CLAIM_HELD`; a stale token gives `CLAIM_LOST`. A SECRET that stays out of every written text. Any write that carries it extends the lease without touching the declared progress; the end of the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty."New value: +"YOUR claim's token (from `claim_task`) — REQUIRED to write to a task a lease holds: without it `CLAIM_HELD`, a stale one `CLAIM_LOST`. A SECRET kept out of every written text. A write carrying it extends the lease without touching the declared progress; ending the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty."
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed1 schema field changed
    • addedInput schema / properties / claimToken
      Added value: +{
      +  "description": "The token of YOUR claim (returned by `claim_task`) — REQUIRED to write to a task a lease holds: without it, the refusal is `CLAIM_HELD`; a stale token gives `CLAIM_LOST`. A SECRET that stays out of every written text. Any write that carries it extends the lease without touching the declared progress; the end of the task (`done`, archiving, back to `todo`) releases the claim. On a task nobody holds, the field stays empty.",
      +  "maxLength": 200,
      +  "minLength": 8,
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / taskId / description
      Previous value: -"UN identifiant, ou JUSQU’À 100 (tableau) — même contrat que `archive_task` : chaque id se désarchive INDÉPENDAMMENT, `succeeded`/`failed` sous forme lot."New value: +"ONE identifier, or UP TO 100 (array) — same contract as `archive_task`: each id is unarchived INDEPENDENTLY, `succeeded`/`failed` in batch form."
  5. 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 destructiveHint=true, readOnlyHint=false and openWorldHint=false, so mutation semantics are covered. The description does add real value beyond that: per-id independent processing and a succeeded/failed result shape for batches. It stops short of disclosing what happens when an id is not actually archived, or how claimToken affects the outcome.

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?

Two short sentences, front-loaded with the core action and then the batch contract. Nothing is wasted, though the em-dash aside repeating the array detail is redundant with the schema.

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 three-parameter mutation tool with full schema coverage and rich annotations, this covers the essential shape: what it does, batch behavior, and partial-failure reporting. The only gap is state preconditions (must the task be archived?) and interaction with claimToken, which the schema partially handles.

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 taskId's array form, the 100-item cap, claimToken's CLAIM_HELD/CLAIM_LOST behavior and expectedProjectId are all fully documented in the schema. The description's note that taskId accepts an array restates what the schema already says, adding no new meaning.

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 — 'Puts a task ... back into live work' — which unambiguously identifies the inverse of archiving. It names the sibling archive_task and mirrors its contract, so an agent can place it precisely, though it never explicitly frames the choice as 'use this instead of archive_task when the task is archived'.

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?

Usage is implied by 'back into live work' — the reader infers the task must currently be archived. There is no explicit statement of prerequisites (task must be archived, claim restrictions), no when-not guidance, and no contrast beyond the batch-contract reference to archive_task.

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.