Skip to main content
Glama

Archive goal

archive_goal
Destructive

Archive a goal by ID. It goes to the archive, not away — list_archive shows it and restore_from_archive brings it back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesGoal ID (from list_goals)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoConfirmation that the goal was archived. Widgets still pointing at it fall back to demo data.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=false and destructiveHint=true. The description adds valuable context beyond that by stating the goal 'goes to the archive, not away' and that list_archive/restore_from_archive can show and restore it. This clarifies the real-world effect of the destructive hint without contradicting it.

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?

The description is one efficient sentence that front-loads the action ('Archive a goal by ID') and then adds a useful clarifying clause about recoverability and related tools. Every word earns its place, with no filler or redundancy.

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 single-parameter tool with an output schema and annotations already defining read-only and destructive hints, the description covers the key behavioral nuance of archiving. It could optionally mention side effects on active lists or permissions, but the provided context is sufficient for correct selection and invocation.

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 is already described as 'Goal ID (from list_goals)'. The description adds only the phrase 'by ID', which doesn't meaningfully extend the schema's parameter documentation, so the baseline score of 3 applies.

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 verb and resource: 'Archive a goal by ID.' It also names related tools (list_archive, restore_from_archive) and clarifies that the goal is recoverable, which helps distinguish archive from a permanent delete. It stops short of explicitly contrasting with other sibling tools, but the resource and action are clear.

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?

The description implies when to use this tool: to put a goal into the archive while keeping it recoverable. However, it never explicitly says 'use this when you want to remove from active view but not permanently delete' or names situations where a different tool should be used. Usage context is conveyed through behavior rather than direct 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