Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

get_daily_summary

Read-only

Retrieve a daily end-of-day sales report covering discounts, channels, payment methods, and voids for a chosen local date, defaulting to today.

Instructions

End-of-day (Z) report for one day: sales, discounts, channels, payment methods, voids.

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_daily_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoLocal date, YYYY-MM-DD. Default: today.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds value by disclosing what the report actually contains and that it is a one-day aggregate, which helps the agent predict the payload shape despite an output schema already existing.

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?

A single front-loaded sentence with zero filler; the scope and contents land immediately. It is a noun-phrase fragment rather than a full statement, but that costs nothing in clarity.

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 one-parameter, read-only, output-schema-backed aggregate report, the description covers scope, grain, and content adequately. The only real gap is routing guidance relative to other reporting siblings, which is a usage concern rather than a correctness one.

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%, so the single 'day' parameter is already documented as 'Local date, YYYY-MM-DD. Default: today.' The description adds only the 'one day' scoping, and the '(Z)' marker is ambiguous next to the schema's explicit 'Local date' wording, providing no clarifying value.

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 resource and scope: an end-of-day report covering one day, with the included metrics enumerated (sales, discounts, channels, payment methods, voids). This distinguishes it reasonably well from narrower siblings like get_void_report or get_top_items, though it does not explicitly contrast with get_sales_report.

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?

'End-of-day (Z) report for one day' implies the use case (daily close / day-level review) but never states when to pick this over get_sales_report or get_void_report. No exclusions or prerequisites are given, so the agent must infer the boundary from the enumerated content.

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