Skip to main content
Glama

Busy times

get_busy_times
Read-onlyIdempotent

When the café is busiest, default over the last 30 days: orders by hour of the day, the busiest half hour, and orders and sales by weekday. Useful for rotas and opening hours.

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

Input Schema

NameRequiredDescriptionDefault
toNoLast day, YYYY-MM-DD, included. Overrides period.
cafeNoWhich café, by name or slug. Only needed when the person has more than one (see list_my_cafes).
fromNoFirst day, YYYY-MM-DD. Overrides period.
branchNoOne branch (location) by name or id. Leave out for the whole business.
periodNoA named period on the café's clock. Weeks start Monday.

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, closed-world and non-destructive, so the safety profile is fully covered. The description adds the meaningful default window (last 30 days) and the aggregation granularity, but says nothing about the café's clock/timezone or what happens when the range has no orders.

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 compact sentence that front-loads the headline question (when is it busiest) and then lists the breakdowns. Dense but every clause carries information; no filler.

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?

With no output schema, the description compensates well by enumerating the returned aggregations, and the default window is stated. The remaining gap is minor: no note on empty results or how the café's clock affects bucketing, but an agent has enough to call it correctly.

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 parameters like from/to overriding period, café fallback to list_my_cafes, and branch scope are already documented. The description contributes one genuine extra fact — the default period of last 30 days — which the schema does not state, so it sits at the baseline rather than below or above it.

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 the resource (busy times) and spells out three concrete outputs — orders by hour of day, busiest half hour, and orders/sales by weekday — so an agent knows exactly what it gets back. It is clear without explicitly distinguishing itself from neighbours such as get_sales_summary or get_top_items.

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?

Usage is only implied through "Useful for rotas and opening hours", which frames the staffing/planning scenario. There is no explicit statement of when to prefer this over get_sales_summary or get_live_status, and no exclusions or prerequisites.

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