Skip to main content
Glama

A night audit report

night_audit_report
Read-only

One stored night audit report for a business date (default the last one stored), by name: Night Audit Summary, Room Charges Posted, Payments and Refunds, No-Shows and Cancellations, Declined Payments, Security Deposits, Balances, Rate Overrides and Adjustments, Maintenance and Out of Order, Hotel Statistics, Shift Reconciliation, Booked Reservations. Its tables row by row, as the PDF prints them; a card is never shown beyond its brand. Needs the owner's sign-in.

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": {
      "report": "<report>"
    },
    "name": "night_audit_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoBusiness date YYYY-MM-DD, optional
reportYesThe report's name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-structured context: output shape ('tables row by row, as the PDF prints them'), a redaction rule ('a card is never shown beyond its brand') and an auth prerequisite ('needs the owner's sign-in'). It omits any note on report size, latency or pagination for large tables, which keeps it below 5.

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?

Lead clause identifies the resource and date scope immediately, and every sentence carries information: the name list is long but load-bearing, and the output/auth notes are compact. The grammar is loose in places ('Its tables row by row, as the PDF prints them' lacks a verb, and 'Needs the owner's sign-in' is curt), which slightly hurts readability without adding waste.

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 two-parameter, no-output-schema read tool with annotations already covering safety, the description supplies what structured fields do not: valid report names, date defaulting, sign-in requirement and output/redaction behavior. The remaining gaps are edge-case handling (invalid name, date with no audit run, very large reports) rather than anything an agent needs before a normal invocation.

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?

Schema coverage is 100%, so the baseline is 3; the description clears that bar by supplying the valid value set for the required `report` parameter even though the schema declares no enum, and by clarifying that the date defaults to the most recent stored report rather than requiring one. It does not say whether report names must match exactly (case, punctuation) or what happens on an unrecognized name, so 5 is not warranted.

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 states a specific resource (one stored night audit report) and scope (single business date, defaulting to the latest stored), and enumerates the twelve distinct report names so the agent knows exactly what can be fetched. It falls short of 5 because it never contrasts itself with the sibling `night_audit` or `night_sales`, leaving the agent to guess which of those overlaps this retrieval.

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

Usage Guidelines4/5

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

It gives a clear selection rule for the required `report` argument by listing the accepted names, and states the default behavior when no date is supplied (last stored report). It offers no when-not-to-use guidance or routing to related tools such as `night_audit` or `folio`, so the agent has no fallback path if the request is for a live rather than stored report.

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