Skip to main content
Glama

Archive a position

archive_task_post
DestructiveIdempotent

Archive a position (archived false: restore it). Reserved to the owner of the space.

Refused while a non-archived task has it as assignee: first assign the task to someone else with update_task. Nothing is deleted.

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": {
      "space": "<space>",
      "name": "<name>"
    },
    "name": "archive_task_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName fixed at creation, what agents pass; letters, digits, - and _.
spaceYesSpace identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces.
archivedNo

Output Schema

NameRequiredDescriptionDefault
nameYesName to pass as `assignee` to create_task, update_task and list_tasks.
labelYes
archivedYestrue: archived, absent from task_posts and from assignee choices.
positionYesRank in the list of positions.
has_briefNotrue: the position has a brief; if you work for it, read it with get_task_post.
task_countYesNon-archived tasks assigned to this position.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / name / description
      Previous value: -"Nom figé à la création, ce que passent les agents ; lettres, chiffres, - et _."New value: +"Name fixed at creation, what agents pass; letters, digits, - and _."
    • changedInput schema / properties / space / description
      Previous value: -"Identifiant de l'espace, ex. « k3x9p2m4ta » : le champ `id` que donne list_spaces."New value: +"Space identifier, e.g. “k3x9p2m4ta”: the `id` field returned by list_spaces."
    • changedOutput schema / properties / archived / description
      Previous value: -"true : archivé, absent de task_posts et des choix de responsable."New value: +"true: archived, absent from task_posts and from assignee choices."
    • changedOutput schema / properties / has_brief / description
      Previous value: -"true : le poste a une fiche ; si tu travailles pour lui, lis-la avec get_task_post."New value: +"true: the position has a brief; if you work for it, read it with get_task_post."
    • changedOutput schema / properties / name / description
      Previous value: -"Nom à passer en `assignee` à create_task, update_task et list_tasks."New value: +"Name to pass as `assignee` to create_task, update_task and list_tasks."
    • changedOutput schema / properties / position / description
      Previous value: -"Rang dans la liste des postes."New value: +"Rank in the list of positions."
    • changedOutput schema / properties / task_count / description
      Previous value: -"Tâches non archivées dont ce poste est responsable."New value: +"Non-archived tasks assigned to this position."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: ownership requirement, the assignee precondition that causes refusal, and the reversibility guarantee ('archived false: restore it', 'Nothing is deleted'). The 'Nothing is deleted' phrasing sits in mild tension with destructiveHint=true, but it reads as clarifying that the operation is a reversible state change rather than a hard contradiction.

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?

Three short sentences, front-loaded with the core action and its inverse, then permissions, then the blocking condition. No filler; the only minor cost is that the restore semantics are tucked into a parenthetical rather than given their own line.

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?

An output schema exists, so return values need not be described. For a mutation tool with three parameters, the description covers permissions, preconditions, and reversibility. It could go slightly further by stating what state the position ends up in for dependent tasks, but nothing essential to a correct call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%; `name` and `space` are well documented in the schema, while `archived` has no schema description. The description compensates by explaining that `archived: false` restores the position, which is the one piece of semantics the schema omits.

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 ('Archive a position') and immediately clarifies the inverse operation via the `archived` flag. The title/name mismatch (task_post vs 'position') is resolved by the title, but the description never explains what a 'position' is relative to the sibling `archive_task`, leaving a small differentiation gap.

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?

Explicitly names the precondition ('Reserved to the owner of the space') and the blocking condition ('Refused while a non-archived task has it as assignee'), then routes the agent to the correct alternative ('first assign the task to someone else with update_task'). This is exactly the when/when-not/alternative structure an agent needs.

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