Skip to main content
Glama

Delete purchase order by identifier.

delete_order

Deletes an order by integer ID; use a valid ID below 1000 to avoid API errors.

Instructions

For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.

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": {
      "orderId": "<orderId>"
    },
    "name": "delete_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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, yet it says nothing about irreversibility, required permissions, or what happens to the order after deletion. It does disclose that out-of-range or non-integer IDs produce API errors, which is a small piece of behavioral context, but a destructive operation deserves far more.

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?

One sentence with no filler, so it is concise, but it is mis-front-loaded: the leading content is a parameter edge case rather than what the tool does. A reader gets constraint trivia before learning the operation.

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 one-parameter delete tool with no annotations and no output schema, the definition is thin: purpose, irreversibility, and permissions are unaddressed. The ID-range hint is genuinely helpful for avoiding errors, but it does not compensate for the missing description of the destructive action itself.

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 single orderId parameter is undocumented in the schema, and the description usefully adds that integer IDs below 1000 succeed while non-integers fail. However, the < 1000 boundary is arbitrary and unexplained, and there is no statement about what the ID identifies or whether the range reflects test/sandbox data.

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?

The description never states that this tool deletes an order; its only sentence is about acceptable ID values. The purpose must be inferred entirely from the name and title, and nothing distinguishes it from siblings such as delete_pet or delete_user.

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 guidance on when to use this tool, no prerequisites, and no mention of alternatives (e.g., get_order_by_id to verify before deleting). The only conditional information is an ID-value restriction, which is a data constraint rather than usage guidance.

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