Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

get_void_report

Read-only

Retrieve voided or cancelled restaurant items by item and reason, including lost value, for a specified date range. Use it to analyze losses and identify cancellation patterns.

Instructions

Voided/cancelled items by item and reason, with lost value. Useful for loss analysis.

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": "get_void_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toNoLocal date, YYYY-MM-DD. Default: today.
date_fromNoLocal date, YYYY-MM-DD. Default: today.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds that results are broken out by item and reason and include a lost-value figure, which is useful context beyond the annotations, but says nothing about date-range scoping behavior or ordering.

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 tight sentences with zero filler. The output shape (by item, by reason, with lost value) is front-loaded before the suggested use case, so an agent gets the essentials first.

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

Completeness4/5

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

For a read-only, two-optional-param report with an output schema defining the return values, the description covers what the tool produces and roughly why you'd call it. Only the absence of any note on date-window scope keeps it short of full completeness.

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 100%: both optional date parameters are fully documented with format and a 'default: today' note. The description adds no date semantics of its own, so the schema is doing all the work — baseline 3.

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?

States a specific resource and grouping: voided/cancelled items aggregated by item and reason, plus lost value. That is clearly distinct from get_sales_report or void_order_item (a mutation), though the description does not explicitly name a sibling to contrast with.

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?

'Useful for loss analysis' implies the intent and context for calling it, but it gives no explicit when-not guidance, no prerequisites, and does not point to any alternative report tool for adjacent questions.

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