Skip to main content
Glama

delete_goal

Deletes a goal after human confirmation in the Quarterdeck Goals plugin, hiding and pausing it so it can be restored before permanent purge after the retention period.

Instructions

Deletes a goal for the human (after they confirm): it is hidden and paused, and can be restored until it is purged after the retention period. For the quarterdeck-goals plugin only: agents and the model must not call this.

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

Input Schema

NameRequiredDescriptionDefault
goal_idYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full load, and it does most of the work: it discloses that deletion is non-destructive (hidden, paused), that a restore window exists, and that a retention period precedes purge. It does not say what happens to the goal's items or active runs, nor what the call returns, which is the remaining gap for a mutation tool with zero annotation coverage.

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 sentences, no filler. The behavioral consequence of deleting is front-loaded before the access restriction, which is the right order for a reader deciding whether to proceed.

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?

Given no annotations, no output schema, and only two parameters, the definition covers the essentials an agent needs: what happens to the object, how it is recovered, and who may call it. The unresolved goal_id/run_scope semantics are the only meaningful shortfall.

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

Parameters2/5

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

With 50% schema coverage, the description needs to compensate and does not: goal_id is never explained, and run_scope is absent from the description entirely — a notable omission given the odd situation of a run-scoped delete on a tool agents are forbidden to call. All parameter meaning lives in the schema's run_scope blurb.

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 ('Deletes a goal') and immediately qualifies the semantics: soft delete, hidden and paused, restorable until purge after the retention period. That implicitly separates it from purge_goal (permanent) and restore_goal (the undo path) without the agent needing to open either sibling.

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?

Gives both a when ('for the human (after they confirm)') and a hard when-not ('agents and the model must not call this'), which is unusually explicit. It stops short of naming what an agent should do instead (e.g. set_goal_status or update_goal) and does not state how confirmation is obtained, so 4 rather than 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.