Skip to main content
Glama

update_location

Edit a location's name, description or the scenes set there. Pass only the fields to change. Does NOT redo its image. Through the API, enqueue_generate_images({ locationIds: [id], replaceLocations: true }) makes a new one. In the studio chat that call starts nothing for a place image that exists: the server shows the user a card with the price and a Start button, and only their tap makes it; a place with no image yet gets one from enqueue_generate_images({ locationIds: [id] }).

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

Input Schema

NameRequiredDescriptionDefault
nameNoNew display name.
scenesNoScene ids set in this location (replaces the list): a scene added is moved here, a scene left out has no place afterwards. Moved scenes are out of date (their redo is the priced enqueue_revise_scene).
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
locationIdYesLocation id (from list_locations).
descriptionNoNew description of the place, written for an image model, no people in it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose key behavior: this is a mutation, it does not regenerate the location image, and in chat the image path is gated behind a user tap and price. It stops short of stating permissions, error behavior, or what a successful edit returns, so it is strong but not exhaustive.

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?

The core edit semantics and the partial-update rule are front-loaded in two efficient sentences, but the remainder is a long digression on image regeneration that spends three sentences on a side path and buries the useful API-vs-chat distinction in dense inline code and prose.

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 5-parameter mutation tool with no annotations and no output schema, the description covers purpose, partial-update behavior, the image non-effect, and the correct alternative call. Missing are return/confirmation behavior and any failure modes, which keeps it from being fully complete.

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?

Schema coverage is 100%, so the baseline is 3; the description adds genuine meaning beyond the schema by establishing partial-update semantics ('Pass only the fields to change'), which is not expressed by the required/optional structure alone. It does not otherwise elaborate on individual parameter formats, which the schema already handles.

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 specific verb and resource ('Edit a location's name, description or the scenes set there') and immediately draws the boundary against a related capability ('Does NOT redo its image'), which lets an agent distinguish it from enqueue_generate_images without opening either schema.

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

Usage Guidelines5/5

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

Gives the operative calling rule ('Pass only the fields to change') plus explicit routing for the adjacent task, naming the exact alternative call and its arguments for both API and studio-chat contexts, including the crucial note that in chat the call only produces a priced confirmation card rather than acting.

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