Skip to main content
Glama

Deallocate all

deallocate_all
DestructiveIdempotent

DESTRUCTIVE: release EVERY allocation of a deck (holdings are never deleted; sleeved cards return to return_location, default "Unsorted"). Without confirm:true this returns a dry-run summary; repeat with confirm:true to execute.

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": {
      "deck": "<deck>"
    },
    "name": "deallocate_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesDeck id or name
confirmNo
return_locationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description adds the critical nuance the annotations cannot: holdings are never deleted and sleeved cards are returned to return_location (default "Unsorted"). It also discloses the two-phase dry-run-then-confirm execution model, so the agent knows the first call mutates nothing.

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?

Front-loaded with the "DESTRUCTIVE" marker, then scope, then the safety mechanism, all in two compact sentences with no filler. Every clause carries information an agent needs before calling.

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 destructive, unannotated-in-detail mutation with no output schema, this covers scope, side effects, defaults, and the confirmation flow. Minor gap: it does not describe what the dry-run summary contains, though the behavior is otherwise fully specified.

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

Parameters5/5

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

Schema coverage is only 33% — only 'deck' is documented. The description compensates for the undocumented parameters by explaining confirm's exact semantics (dry run vs. execution) and giving return_location's default value of "Unsorted", which is absent from 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 — "release EVERY allocation of a deck" — and the quantifier "EVERY" implicitly separates it from the singular sibling 'deallocate'. An agent can tell what this does and how it differs from the single-allocation tool without opening either 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?

Gives explicit operational guidance: without confirm:true it is a dry run, and you repeat with confirm:true to execute. That is a clear call pattern. It does not explicitly say when to prefer this over the sibling 'deallocate' for a single allocation, leaving that inference to the agent.

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