Skip to main content
Glama

delete_location

Remove a location, with its image, from the movie (and from the whole series when the movie is an episode). Destructive: only after the user explicitly asked. On an episode of a series the places are shared: this removes the location and its image from EVERY episode. The first call never deletes: it answers needsConfirmation with what is lost. In the Promvie studio chat the server shows the user this question in its own words and does it only on their plain yes: never ask it yourself, never say it was done, and never call again with the confirm flag there. Through the API, tell your user exactly what is lost and, only after they agree in a later message, call again with the confirm flag and the confirmId it gave.

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

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
confirmIdNoThrough the API: the confirmId from the needsConfirmation answer, sent back with confirmDelete. It confirms that one question, once.
locationIdYesLocation id to delete.
confirmDeleteNoThrough the API only. Leave unset on the first call. Set true ONLY after this tool answered needsConfirmation and your user, told that the location and its image will be deleted (from every episode on a series), agreed in a later message, in a separate later call that also sends the confirmId. In the studio chat the server answers the question itself: never set it there.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does: it declares destructiveness, the cascade across every episode of a series, and the unusual first-call-is-a-dry-run behavior returning needsConfirmation with what is lost. The only reason it is not a 5 is that permanence/irreversibility of the deletion and any permission requirements are implied rather than stated.

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?

Purpose and the destructive warning are front-loaded, then the series caveat, then the confirmation flow, so an agent reading top-down gets the risk first. It is dense but every sentence carries a distinct constraint; the repeated 'never ask it yourself, never say it was done' could be tightened but guards a real failure mode.

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

Completeness5/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 the description compensates by explaining what the first call returns (needsConfirmation plus what is lost) and what must be echoed back. For a destructive, confirmation-gated, cascading delete, an agent has everything needed to call it safely in either the chat or API context.

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, but the description adds the sequencing semantics that the schema only restates mechanically: the first call must omit the confirm flag, and the confirming call must come in a separate later message with the confirmId. It clarifies the relationship between confirmDelete and confirmId in prose beyond the field-level text.

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?

The opening states a specific verb and resource ('Remove a location, with its image, from the movie') and immediately adds the scope nuance that on an episode the location is shared across the whole series. It is unmistakably distinct from update_location and from the delete_character/delete_prop siblings by naming the exact entity and the image that goes with it.

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?

It gives an explicit precondition ('only after the user explicitly asked') and spells out the two-step confirmation protocol, then splits guidance by surface (Promvie studio chat vs API). The agent knows exactly when to call, when not to call again, and what to do with the confirm flag in each environment.

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