Skip to main content
Glama

Archive Agent Goal

archive_agent_goal
Destructive

Retire a goal: its runner stops and never runs again, and the goal stays readable. Use this when the owner asks to delete a goal.

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": {
      "agent_id": "<agent_id>",
      "goal_id": "<goal_id>"
    },
    "name": "archive_agent_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goal_idYesThe goal id, from list_agent_goals.
agent_idYesThe agent id, from list_agents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavior: the runner stops and never runs again, and the goal remains readable — a soft-delete semantic an agent could not infer from the annotations. It omits whether archiving is reversible or what happens on a second call.

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?

Two short sentences, zero filler, with the state change front-loaded before the usage cue. Every clause carries information.

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 two-parameter mutation with no output schema, the description covers the essential outcome and the trigger condition. It leaves minor gaps around reversibility and error behavior, but nothing that would cause a misinvocation.

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%, with both goal_id and agent_id documented including their source tools (list_agent_goals, list_agents). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 ('Retire a goal') and immediately defines the resulting state: the runner stops permanently while the goal stays readable. This distinguishes it from a hard delete and from update_agent_goal without needing the 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?

Explicitly routes the agent: 'Use this when the owner asks to delete a goal,' which maps a user intent to this tool rather than a delete sibling. It does not name alternatives such as update_agent_goal or archive_agent_task, so the routing is clear but not exhaustive.

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