Skip to main content
Glama

Last Price

delete_storefront

DestructiveIdempotent

Delete a storefront and its domains. Its addresses stop answering at once. Only where the workspace has storefronts switched on (else an error with code not_released). Needs a Last Price credential with workspace settings write scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
storefront_idYesThe storefront id, from list_storefronts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing immediate effect ("addresses stop answering at once"), the specific failure code not_released when the feature is off, and a 403 refusal for sandbox keys until the workspace is claimed. The annotations already cover destructiveHint/idempotentHint, so this additional operational context is the useful part; only the outcome of deleting a non-existent id is left unstated.

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?

The what and the cascade effect come first, followed by gating conditions, so the most decision-relevant information is front-loaded. Every sentence carries substantive information, though the final sentence about claimed workspaces is dense and could be trimmed.

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, open-world, single-parameter tool with no output schema, the description covers impact, authorization, and environment gating adequately. It stops short of describing the response or the behavior when the storefront id does not exist, which an agent may still need.

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 description coverage is 100% and the single storefront_id parameter is already documented as a UUID sourced from list_storefronts. The description adds no format or sourcing detail beyond the schema, so the baseline of 3 applies.

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?

"Delete a storefront and its domains" states a specific verb and resource, and the phrase "and its domains" implicitly separates it from remove_storefront_domain, which only detaches one domain. The destructive scope is unambiguous, but no sibling is named explicitly, so an agent must infer the distinction.

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 concrete preconditions for calling it: storefronts must be enabled in the workspace, the credential needs workspace settings write scope, and the workspace must be claimed. It does not, however, name an alternative tool or state when a caller should prefer update_storefront or domain removal instead.

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