Skip to main content
Glama

workspaces_domain_purchases_destroy

Only an order still waiting for payment can be deleted.

Method: DELETE /api/v1/workspaces/{workspace_sqid}/domain-purchases/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_domain_purchases_destroy"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden, and it does disclose the key state restriction that governs whether the call will succeed. It omits other important traits for a destructive operation: irreversibility, required permissions, and what happens to the order record after deletion.

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?

Two tight lines with no filler, and the operative precondition is front-loaded before the endpoint detail. The HTTP method line is compact and useful for an agent that reasons about endpoints.

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

Completeness3/5

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

The essential eligibility rule for a destructive call is present, which is the most important thing here. Against zero annotations and no output schema, though, an agent still lacks permission requirements, irreversibility expectations, and error behavior when the order is not awaiting payment.

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 0%, so the schema documents only that 'sqid' is a required string. The path template adds real meaning by showing sqid as the domain-purchase identifier scoped under a workspace. Note the template also references a workspace_sqid path segment that is absent from the input schema, which is potentially confusing but does not negate the added context.

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?

The description conveys the resource (a domain-purchase order) and the action (deletion), reinforced by the explicit 'DELETE /api/v1/workspaces/{workspace_sqid}/domain-purchases/{sqid}/' endpoint. It does not differentiate itself from siblings such as workspaces_domain_purchases_cancel_create or workspaces_domain_purchases_retry_payment_create, which also act on the same pending order, so it stops short of a 5.

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?

There is genuine when-to-use guidance in the form of a hard precondition: 'Only an order still waiting for payment can be deleted.' However, it gives no guidance on choosing destroy versus cancel_create or retry_payment_create for an order in a different state, so the routing decision is left to inference.

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.