Skip to main content
Glama

TCS-i

Archive a product

archive_product
DestructiveIdempotent

Retire a product the account no longer sells (DELETE /v1/products/{sku}). Free. It's kept with its data and left out of lists and checks; save_product brings it back.

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": {
      "sku": "<sku>"
    },
    "name": "archive_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYes
brandNo
confirmationNoLeave out at first: TCS-i then removes nothing and answers with a code and what to ask the person. Send that code only after the person has said yes in the chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the lower bar applies; the description adds real context by disclosing that this is a soft delete — data is retained, the product is hidden from lists and checks, and save_product restores it. It also notes there is no cost. It does not state permission requirements or what happens to orders referencing the archived SKU, which is the main remaining gap for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its trigger, followed by cost, then post-state and the reversal path. Every sentence carries distinct information and nothing is repeated from the schema or annotations.

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?

For a three-parameter destructive tool with annotations covering safety and no output schema, the description covers the core semantics well but leaves the 'brand' parameter and the confirmation-code mechanics to a terse schema field. An agent knows what the tool does and how it is reversible, but not the full shape of a correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: sku is identifiable from the endpoint template and confirmation carries its own schema description, but the 'brand' parameter is entirely unexplained in both schema and description. The description does not compensate for that gap, so an agent has no basis for deciding when to pass brand or what it scopes.

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 description uses a specific verb and resource ('Retire a product') and even names the underlying endpoint (DELETE /v1/products/{sku}), making the operation unambiguous. It explicitly contrasts with the sibling save_product, which 'brings it back', so an agent can distinguish archive from restore without inspecting either schema.

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?

It states the triggering condition clearly: use this when the account no longer sells the product, and use save_product to reverse it. It does not address when to prefer another removal path (e.g. api_delete for hard deletion), so it stops short of full when/when-not guidance.

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