Skip to main content
Glama

delete_location

DestructiveIdempotent

Remove an existing location from the knowledge graph by name to keep stored memory accurate and current.

Instructions

Delete an existing location from the knowledge graph

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

Input Schema

NameRequiredDescriptionDefault
delete_locationYesDelete parameters for location

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and closed-world scope, so the safety profile is fully covered structurally. The description adds almost nothing beyond that: it does not say whether attached edges or metadata are cascaded away, whether the call errors on a missing name, or what is returned on success.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or repetition. Its brevity is appropriate, though it leans toward under-specification rather than tight economy.

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

Completeness3/5

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

For a one-parameter, schema-complete tool with no output schema, the description is minimally sufficient. For a destructive graph mutation, however, an agent would benefit from knowing about side effects on connected edges and error behavior on unknown names, which are absent.

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 100% and the single 'name' field is already documented as 'The name of the location to delete'. The description neither explains the nested delete_location wrapper object nor adds matching or case-sensitivity rules, so it merely meets the baseline set by the schema.

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?

The description gives a specific verb ('Delete') and resource ('location') and scopes it to the knowledge graph, which distinguishes it from the sibling delete_edges, delete_metadata, delete_nodes and delete_npc tools by target entity type. It stops short of explicitly naming those siblings as alternatives.

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 guidance on when to use this tool versus the other delete_* variants, no prerequisite that the location must exist, and no stated warning about irreversible removal. The word 'existing' is the only hint that the target must already be present.

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