Skip to main content
Glama

update_location

Modify an existing location record by ID, changing its name, type, tags, or description to maintain accurate world-entity data.

Instructions

[DEPRECATED — v2.0.0 will replace this with update_entity(type: "location"); it still works today] Update a location

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

Input Schema

NameRequiredDescriptionDefault
idYesLocation ID
nameNo
tagsNo
typeNoe.g. city, forest, castle
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutation/safety profile is covered. The description's genuinely additive content is the deprecation status and the fact that it remains functional — useful context. It says nothing about partial-update semantics (whether omitted fields are preserved or cleared), which is the main behavioral unknown for an update tool.

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 short and front-loads the deprecation notice, which is the most important information. But the deprecation meta-information consumes most of the text, while the substantive purpose statement is just three words, leaving the description thin for a mutation tool with five parameters.

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

Completeness2/5

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

With five parameters, only 40% schema description coverage, no output schema, and mutation behavior, the description should explain partial-update behavior and what gets returned or changed. It explains none of this beyond the deprecation status, leaving meaningful gaps.

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

Parameters4/5

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

At 5 parameters and only 40% coverage from the schema, some explanation is warranted. However, most updates are optional patches that simply need an id, and the description does not add field-level semantics. It earns a mid score for correctly framing this as a recognizable update operation but does not compensate for undocumented fields like name and tags.

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?

"Update a location" states a clear verb and resource, and the deprecation note names the future replacement (update_entity with type "location"), which helps distinguish it from other update_* siblings. It stops short of saying what a location update actually covers, so it is clear but not fully differentiating.

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

Usage Guidelines3/5

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

The description gives migration guidance (still works today, will be replaced in v2.0.0), which is useful temporal context. However it offers no when-to-use vs. create_location/delete_location guidance and no prerequisites or exclusions, so usage is only implied.

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