Skip to main content
Glama
homebox-mcp

homebox-mcp

by dgahagan

delete_location

Destructive

Permanently removes a location by name or /-separated path after exact-name confirmation; refuses nonempty locations unless allowed, deleting sub-locations and orphaning items to top level.

Instructions

PERMANENTLY delete a location (name or /-separated path). confirm must equal the location's exact name. A location that still contains items or sub-locations is refused unless confirm_nonempty=True — sub-locations are deleted with it, and its items are ORPHANED to the top level (not deleted). Archived items count as contents. There is no undo.

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": "<location>",
      "confirm": "<confirm>"
    },
    "name": "delete_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYes
locationYes
confirm_nonemptyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations only supply destructiveHint=true, and the description adds substantial context beyond that: irreversibility ('no undo'), exact-match confirmation requirement, refusal on non-empty contents, cascade deletion of sub-locations, orphaning (not deleting) of items, and that archived items count as contents. It doesn't state permission/auth requirements or what is returned, keeping it just below top marks.

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-loads PERMANENTLY, then proceeds through confirmation, non-empty handling, and irreversibility in a tight sequence. Every clause carries operative information; nothing is padding.

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 three undocumented parameters, no output schema, and a destructive operation, the description covers the critical decision points (confirmation, refusal, cascade, orphaning, irreversibility). Only auth/permission context and a note on returned confirmation are absent.

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 0%, so the description must carry the parameters, and it does: location accepts a name or path, confirm must equal the exact location name, and confirm_nonempty enables deletion of a non-empty location with defined side effects. Every parameter's meaning and constraint is explained.

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 precise verb and resource ('PERMANENTLY delete a location') plus the accepted identifier form (name or /-separated path). The word 'location' cleanly separates it from sibling deletes such as delete_item, delete_attachment, and delete_tag.

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 strong conditional guidance: the operation is refused when the location is non-empty unless confirm_nonempty=True, and it spells out the consequence of setting that flag. It doesn't name an alternative tool (e.g. set_location for renaming, or delete_item for contents), so it stops short of explicit alternative routing.

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