Skip to main content
Glama

Delete location

delete_location
Destructive

Delete a location (cascades its rooms and class sessions).

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": {
      "location_id": "<location_id>"
    },
    "name": "delete_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
location_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the cascade effect on rooms and class sessions, which is exactly the collateral-damage detail an agent needs before calling. It does not mention irreversibility, required permissions, or behavior when the location_id does not exist, which keeps it from a 5.

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?

A single sentence with the destructive scope front-loaded in the parenthetical. Every clause carries information an agent needs, and there is no filler, hedging, or restatement of the title.

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 single-parameter tool whose annotations already flag destructiveness and non-idempotency, the cascading-impact disclosure covers the main missing piece. Remaining gaps — irreversibility, permission requirements, error behavior on a missing id — are minor given the annotation coverage and the absence of an output schema.

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 0% and the single parameter location_id is undocumented in both the schema and the description. The name is largely self-explanatory, so the meaning is inferable, but the description offers no format, source, or lookup guidance to compensate for the coverage gap. A minimum-viable 3 is appropriate for one obvious required identifier.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Delete a location') and adds the scope of the deletion via the parenthetical about cascading rooms and class sessions. That cascade note is what separates it from delete_room and delete_session, so an agent can tell it is the parent-level removal rather than a single-child removal. It stops short of a fully explicit sibling contrast, which keeps it at 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance: nothing says 'use delete_room to remove a single room instead' or warns that this should only be used for whole-location cleanup. The cascade parenthetical hints at blast radius but is not framed as decision guidance. The agent is left to infer appropriateness from the name alone.

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