Skip to main content
Glama
APIBridge MCP Server
by chandru20

delete_product

Deletes an existing product using its ID, with optional context loading and response saving for API CRUD workflows.

Instructions

Delete a product

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe ID of the resource to modify
fromContextNoLoad data from context using this key
queryParamsNoQuery parameters to include in the request
saveToContextNoSave the response to context with this key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and delivers almost nothing: it does not state whether deletion is permanent or soft, whether confirmation or elevated permissions are required, what happens to dependent records, or what is returned. The single phrase conveys only that the operation is a destructive mutation, which is the minimum possible disclosure.

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

Conciseness3/5

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

Three words with no filler and the key verb front-loaded, so there is nothing to trim. The terseness, however, reflects under-specification rather than disciplined concision.

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

Completeness2/5

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

For an irreversible mutation with no annotations, no output schema, a nested queryParams object, and a non-required id, the definition is far too thin. An agent cannot determine from this description how to safely identify the target product or what the call returns.

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%, so the baseline is 3 regardless of description detail. Notably the schema marks zero required parameters, meaning the critical `id` for a delete is optional, and the description gives no guidance on that or on the context/query-param mechanics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete a product" is a verb+resource pair, but it is essentially a restatement of the tool name delete_product, adding no scope, target resolution, or behavioral nuance. It does implicitly separate itself from create_product/update_product by the verb alone, but that differentiation comes from the name, not the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, no mention of alternatives such as update_product or get_product, and no note on when deletion is inappropriate. Usage is only inferable from the tool name.

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