Skip to main content
Glama

Delete warranty item

delete_warranty_item
Destructive

Delete one of the caller's warranties by id and CANCEL its pending reminders (none fire afterwards). Only the caller's own warranty is reachable. Destructive — runs only after you confirm via confirm_action; the result names the cancelled-reminder count. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "id": "<id>"
    },
    "name": "delete_warranty_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond destructiveHint=true: it discloses that pending reminders are cancelled and never fire, that reach is scoped to the caller's own record, that the call is proposed rather than executed, and what status/action_id/plan_token come back. It even states that the result reports the cancelled-reminder count.

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 destructive/reminder-cancellation facts are front-loaded and the confirmation protocol is spelled out. However, the confirmation behavior is stated twice — once in the first paragraph ('runs only after you confirm via confirm_action') and again in a capitalized CONFIRMATION block — which is redundant.

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 destructive, one-parameter mutation with no output schema, the definition covers everything an agent needs: side effects, authorization scope, the two-step confirmation handshake with its exact status values, and what the result reports.

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 0% and the single `id` parameter is a union of integer|string with no description, so the description must carry the load. It adds that the id refers to the caller's own warranty but never clarifies accepted formats or which identifier type to supply.

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 (Delete), a specific resource (one of the caller's warranties), and a key side effect (cancel pending reminders). It is immediately distinguishable from get_warranty_item, update_warranty_item, and the many other delete_* siblings by resource.

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?

Explicitly limits scope to the caller's own warranty and mandates the confirm_action path, so an agent knows the precondition for a successful call. It does not compare against alternatives such as update_warranty_item when the goal is merely to stop reminders, but the intended use case is clear.

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