Skip to main content
Glama

deleteAssignment

Destructive

Delete an assignment of a resource to a customer, freeing the resource immediately. Deleting cannot be undone. Returns the assignment as it was before the delete. Get assignmentId from getAssignments. Never invent UUIDs; only use values from prior tool responses.

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": {
      "assignmentId": "<assignmentId>"
    },
    "name": "deleteAssignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
assignmentIdYesThe id of the assignment.

Output Schema

NameRequiredDescriptionDefault
assignmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, and the description reinforces this by stating deletion cannot be undone and that the resource is freed immediately. It also adds that the pre-delete assignment state is returned, which is useful context beyond the annotations. However, it omits permission requirements and side effects on related entities, so it adds value without full behavioral 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?

Four short sentences, each earning its place: effect, irreversibility, return value, and ID sourcing. The most consequential fact (immediate freeing of the resource and non-reversibility) is front-loaded.

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?

For a single-parameter destructive mutation with an output schema present, the description covers irreversibility, immediate side effect, return semantics, and how to source the ID. Nothing essential is missing relative to the tool's complexity.

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 100% for the single assignmentId parameter, so the schema already documents format and pattern. The description contributes extra meaning by specifying the provenance of the ID (from getAssignments) and prohibiting invented UUIDs, which is genuine semantic guidance beyond the schema.

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 (delete an assignment of a resource to a customer) and names the immediate effect of freeing the resource. It is unmistakably distinct from the getAssignments/createAssignment/updateAssignment siblings without needing their schemas.

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?

Provides a concrete prerequisite: obtain assignmentId from getAssignments, and warns against fabricating UUIDs. It does not state when not to use this tool (e.g., an alternative to unassign without deleting), so guidance is clear but lacks explicit exclusions.

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