Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Delete via the ApparelHub API

api_delete
Destructive

Delete ApparelHub resources with an authenticated, account-scoped API call only when no dedicated tool covers the action; confirm with the user first because changes may be irreversible.

Instructions

Delete something in the ApparelHub Agent API (https://apparelhub.ai/developer/api-docs) with an authenticated DELETE, as the connected account. Changes data and may be irreversible: confirm with the user first. PREFER a dedicated tool when one exists (they return clean, guarded results); use this only for capabilities no tool covers. Call get_api_reference first to find the right path. path is relative (e.g. "orders", "store//settings"); no full URLs. Scoped to the account's own permissions.

[#7b60f1]

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": {
      "path": "<path>"
    },
    "name": "api_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON request body.
pathYesRelative path under /agents/v1, e.g. "orders" or "product/<uuid>/archive". No host, no "..".
queryNoQuery-string parameters.
workspaceNoWorkspace uuid to scope to (agency accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.23.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description still adds non-redundant context: the call runs under the connected account's own permissions, mutations may be irreversible and require user confirmation, and inputs must be relative paths with no host or '..' traversal. It stops short of describing response payloads or error/failure behavior, which keeps it from a 5.

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 definition is front-loaded with the action then the routing rule, and every sentence carries operational value. Minor waste remains: 'Changes data and may be irreversible' duplicates the destructiveHint annotation, and the trailing '[#7b60f1]' token is unexplained noise.

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?

For a 4-parameter, nested-body, generic HTTP escape hatch with no output schema, the description covers what an agent could otherwise get wrong: finding the path via get_api_reference, keeping paths relative, permission scoping, and requiring user confirmation before a destructive call. Return-value details are not needed because no output schema exists and the tool is documented as returning raw API results.

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?

With 100% schema description coverage, the baseline is 3. The description does add examples of path values ('orders', 'store/<uuid>/settings') and the no-full-URL rule, but the schema already documents path as relative under /agents/v1 with the same examples and the no-'..' constraint, and it says nothing at all about body, query, or workspace beyond what the schema states.

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 names the mechanism precisely: an authenticated DELETE against a relative API path in the ApparelHub Agent API, executed as the connected account. The resource wording is intentionally generic ('delete something'), but that is the nature of an escape-hatch tool, and the explicit routing rule ('PREFER a dedicated tool when one exists') separates it from delete_product, delete_design, delete_collection, and the api_* family.

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 states the alternatives and the condition that selects them: use a dedicated tool when one exists because those 'return clean, guarded results', and fall back to this only for 'capabilities no tool covers'. It also prescribes a prerequisite step ('Call get_api_reference first to find the right path') and a confirmation obligation before acting, which is exactly what an agent needs to sequence the call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools