Skip to main content
Glama

Delete a local assignment

delete_assignment
Destructive

Deletes a local assignment by ID from list_assignments and returns the deleted ID; fails when the ID is unknown. It does not affect anton.app—use unpin_block to remove a pin there.

Instructions

Deletes a local assignment for good, found by its id from list_assignments. Fails if the id is unknown. Returns {deleted: true, id}. Does not touch anton.app; to remove a pin there use unpin_block. To keep the record, set its status to cancelled with update_assignment instead.

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": {
      "id": "<id>"
    },
    "name": "delete_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId (UUID) of the assignment, from list_assignments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0
    • changedInput schema / properties / id / description
      Previous value: -"Assignment UUID"New value: +"Id (UUID) of the assignment, from list_assignments"
  2. First observedv1.5.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=false, but the description adds real context beyond them: the deletion is permanent ('for good'), it fails on an unknown id, it does not affect anton.app, and it returns {deleted: true, id}. That covers scope, failure mode, and outcome.

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?

Four short sentences, front-loaded with the destructive action and its scope, followed by failure behavior, return shape, and alternatives. Nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description supplies the return shape inline, plus permanence, error behavior, and the anton.app boundary. For a single-parameter destructive tool, an agent has everything needed to call it correctly.

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 sole parameter already documents itself as a UUID sourced from list_assignments, so the description repeats rather than extends that meaning. Baseline 3 applies when the schema carries the parameter semantics.

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 (deletes), a specific resource (a local assignment), and a lookup key (id from list_assignments). It also draws the boundary between local deletion and anton.app state, which separates it from siblings like unpin_block.

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 routes the agent: use unpin_block to remove a pin on anton.app, and use update_assignment with status 'cancelled' if the record should be kept. This is a when/when-not plus named alternatives, not inferred guidance.

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