Skip to main content
Glama

update_location

DestructiveIdempotent

Modify an existing location in the knowledge graph by changing its type, parent location, description, notable features, or metadata to keep place data accurate.

Instructions

Update an existing location in 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": {
      "update_location": "<update_location>"
    },
    "name": "update_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
update_locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed17 schema fields changedv0.6.0
    • changedInput schema / properties / update_location / additionalProperties / description
      Previous value: -"Any additional properties"New value: +"Additional property value"
    • removedInput schema / properties / update_location / properties / accessibility
      Removed value: -{
      -  "description": "How characters can enter/exit the location",
      -  "type": "string"
      -}
    • removedInput schema / properties / update_location / properties / atmosphere
      Removed value: -{
      -  "description": "The general feel/mood of the location",
      -  "type": "string"
      -}
    • removedInput schema / properties / update_location / properties / dangerLevel
      Removed value: -{
      -  "description": "The level of danger present in the location",
      -  "type": "string"
      -}
    • changedInput schema / properties / update_location / properties / description / description
      Previous value: -"Detailed description of the location"New value: +"What the location is like"
    • changedInput schema / properties / update_location / properties / name / description
      Previous value: -"Location's name"New value: +"The location's unique name"
    • changedInput schema / properties / update_location / properties / notableFeatures / description
      Previous value: -"Distinct characteristics of the location"New value: +"Distinctive things about the location"
    • removedInput schema / properties / update_location / properties / parentLocation
      Removed value: -{
      -  "description": "The parent location this location belongs to",
      -  "type": "string"
      -}
    • addedInput schema / properties / update_location / properties / partOf
      Added value: +{
      +  "description": "The larger location this one is inside of (must already exist)",
      +  "items": {
      +    "description": "Item in partOf array",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedInput schema / properties / update_location / properties / relatedArtifacts
      Removed value: -{
      -  "description": "Artifacts associated with the location",
      -  "items": {
      -    "description": "Item in relatedArtifacts array",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / update_location / properties / relatedCharacters
      Removed value: -{
      -  "description": "Characters associated with the location",
      -  "items": {
      -    "description": "Item in relatedCharacters array",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / update_location / properties / relatedQuests
      Removed value: -{
      -  "description": "Quests associated with the location",
      -  "items": {
      -    "description": "Item in relatedQuests array",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedInput schema / properties / update_location / properties / size
      Removed value: -{
      -  "description": "The size or scale of the location",
      -  "type": "string"
      -}
    • removedInput schema / properties / update_location / properties / status
      Removed value: -{
      -  "description": "Current state of the location",
      -  "type": "string"
      -}
    • removedInput schema / properties / update_location / properties / subLocations
      Removed value: -{
      -  "description": "Locations contained within this location",
      -  "items": {
      -    "description": "Item in subLocations array",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedInput schema / properties / update_location / properties / type / description
      Previous value: -"Type of location"New value: +"Kind of location, e.g. city, tavern, forest"
    • changedInput schema / properties / update_location / required
      Previous value: -[]New value: +[
      +  "name"
      +]
  2. First observedv1.0.0

TDQS

C2.7/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 openWorldHint=false, so the safety profile is known. The description adds nothing on top of that: it does not say which fields are replaced versus merged, what happens to omitted metadata, or whether the location must exist first — arguably the most important behavioral facts for a destructive update.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, which is structurally clean. However, brevity here is under-specification rather than economy: the one clause cannot carry the weight of a destructive nested-object mutation.

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?

There is no output schema, so return values need not be explained, and annotations cover the safety flags. But the tool takes a nested object with several sub-fields and is destructive, so the description leaves genuine gaps — preconditions and update/replace semantics — that an agent needs before calling it.

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

Parameters2/5

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

Reported schema description coverage is 0% at the parameter level, and the description contributes no field-level meaning at all. The nested object schema does contain per-property descriptions (name, type, partOf, metadata, notableFeatures), but the description does not compensate for the wrapper-level gap or explain the replace-vs-merge semantics stated in the metadata field.

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 states a specific verb and resource (update an existing location) and implies scope via the knowledge-graph noun, which separates it from update_npc, update_edges and update_nodes by resource type. It stops short of explicitly naming those siblings, so an agent must infer the routing rather than read it.

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 guidance, no statement of prerequisites (e.g. that the location must already exist), and no mention of alternatives such as add_location for creation or delete_location for removal. The agent gets no help choosing among the 16 siblings.

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