Skip to main content
Glama

Get Deleted Orders

get_deleted_orders
Read-onlyIdempotent

Returns orders that were deleted within the given time range for the current company. Only data from the current calendar month is available.

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": {
      "timeframe": "<timeframe>"
    },
    "name": "get_deleted_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
endDateNoRange end, only used when timeframe is RANGE
startDateNoRange start, only used when timeframe is RANGE
timeframeYesWhich time range to report on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behaviour, so the safety profile is covered. The description adds one genuinely useful behavioural fact, the current-calendar-month retention limit, but says nothing about pagination, result caps or what a deleted order record contains.

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?

Two short sentences, purpose front-loaded, with the retention caveat immediately following. Nothing is redundant and nothing is buried.

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 simple read-only list tool with a fully documented schema and complete annotations, the description covers purpose and the main data-availability limit. It still leaves return shape and result-size behaviour unaddressed, and there is no output schema to fill that gap.

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%, and the schema already explains that startDate and endDate only apply when timeframe is RANGE. The description only says 'within the given time range', adding no meaning beyond the schema, so the baseline of 3 applies.

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 a specific verb and resource (returns deleted orders) plus the scope (current company and a given time range). The word 'deleted' is what separates it from siblings like get_current_active_orders or get_current_scheduled_orders, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

It implies when to use the tool (retrieving deleted orders inside a range) and adds a useful prerequisite-style constraint that only the current calendar month is available. It gives no explicit when-not guidance and doesn't point agents at alternatives such as get_current_active_orders or delete_orders.

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