Skip to main content
Glama

Delete a location display variable

delete_geo_variable
DestructiveIdempotent

Remove one saved location-based display variable (Dynamic content) by name. Any {{GEO:name}} marker still in the copy then shows as the literal marker, so remove or replace those first (read_design shows where it is used). Variables in a managed set are refused. Takes effect on the live site at the next publish.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe variable name, as list_geo_variables shows it
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: it explains the concrete consequence (markers become literal text in the copy), the refusal case for managed-set variables, and the delayed live-site effect ('takes effect on the live site at the next publish'). This is exactly the context destructiveHint alone cannot convey.

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?

Four tightly packed sentences, front-loaded with the action and consequence. Dense but every sentence carries either a precondition, a side effect, or a refusal rule; no filler.

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 destructive three-parameter tool with no output schema, the description covers side effects, preconditions, refusal behavior, and publish timing. Only irreversibility/undo and error semantics for an unknown name are left implicit.

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 coverage is 100%, so `name` and `site_id` are already documented. The description reinforces lookup-by-name and cross-references list_geo_variables implicitly, but adds little about site_id or user_goal beyond the schema, so the baseline 3 applies.

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 ('Remove one saved location-based display variable (Dynamic content) by name') and scopes it to a single entity, which cleanly separates it from bulk or asset-deletion siblings like delete_brand_asset or delete_collection.

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

Usage Guidelines4/5

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

Gives a clear precondition (remove or replace `{{GEO:name}}` markers first) and a when-not rule (variables in a managed set are refused), plus points to read_design to find usages. It does not name a preferred alternative or describe recovery if the call fails, which keeps it short of a 5.

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