Skip to main content
Glama
satviksriv

bookings-mcp

by satviksriv

Revenue report

revenue_report
Read-only

Produce revenue reports from completed bookings for a date range, grouped by service, staff, or day, with totals, average ticket, no-show rate, cancellations, and confirmed upcoming value.

Instructions

Revenue from completed bookings between two dates, grouped by service, staff or day, with totals, average ticket, no-show rate, cancellations, and the value of confirmed upcoming bookings in the range. Amounts in USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesDate as YYYY-MM-DD
fromYesDate as YYYY-MM-DD
group_byNoservice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/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, covering the read-only nature. The description adds useful scope details (completed vs. confirmed upcoming bookings) and currency (USD), but does not disclose potential limitations like pagination, timezone handling, or error behavior. Given the annotation coverage, this is adequate but not exceptional.

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?

The description is a single, compact sentence that packs in the core purpose, grouping options, and all included metrics without unnecessary fluff. It is front-loaded with the main purpose and efficiently conveys the report's scope. It could be slightly more structured, but it is appropriately concise.

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?

Given the lack of an output schema, the description carries the burden of explaining what the tool returns. It lists all key metrics and grouping options, providing a comprehensive picture of the report's content. It does not mention output format or potential edge cases, but for a read-only reporting tool this is a reasonably complete specification.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers from/to with date format descriptions, but group_by has only an enum and no description. The description clarifies that grouping can be by service, staff, or day, directly mapping to the enum values. It also clarifies that the date range refers to booking dates, adding meaning beyond the raw schema. Since schema coverage is 67%, the description compensates well for the undocumented group_by parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as a revenue report for completed bookings, specifying the grouping options (service, staff, day) and the metrics returned (totals, average ticket, no-show rate, cancellations, confirmed upcoming value). It is distinct from sibling tools like list_bookings which focus on individual records, so an agent can easily differentiate.

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?

The description implies its use for revenue aggregation and analysis, but it does not explicitly state when to choose this over alternatives such as list_bookings for raw data or search_customers for customer details. There is no explicit 'when not to use' guidance, leaving the agent to infer the appropriate context from the description and sibling names.

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