Skip to main content
Glama

A night's audit

night_audit
Read-only

One night's audit (default the last one run): closed or not, room and tax posted, no-shows and cancel fees, every hard stop and warning with its stay. Needs the owner's sign-in.

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

Input Schema

NameRequiredDescriptionDefault
dateNoBusiness date YYYY-MM-DD, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine context beyond them: the default date behavior and the authentication requirement ('Needs the owner's sign-in'), which an agent must know before invoking. It does not describe response shape or failure modes, keeping it short of a 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?

A single dense sentence, front-loaded with the resource and default, then the payload contents, then the auth requirement. No filler sentences, though the comma-heavy list of audit contents is slightly harder to scan than a structured breakdown.

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 single-parameter read tool with no output schema, the description compensates well by enumerating what the audit returns and noting the auth prerequisite. The main remaining gap is disambiguation from nearby audit/sales tools, which matters given the crowded sibling set.

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 date parameter's format and pattern are already documented, giving a baseline of 3. The description adds meaning the schema lacks: that omitting date returns the last audit run, which is the key semantic needed to call the tool with zero arguments.

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 scope: 'One night's audit', with the default behavior ('the last one run') and an enumeration of what the audit covers (closed or not, room and tax posted, no-shows, cancel fees, hard stops and warnings). It does not name or distinguish itself from siblings like night_audit_report or night_sales, so an agent cannot fully rule out overlap from the text alone.

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 gives a practical default ('default the last one run') and a prerequisite ('Needs the owner's sign-in'), which helps an agent call it. However, there is no explicit when-to-use versus when-not guidance and no mention of the closely named sibling night_audit_report, leaving the choice between audit-related tools to inference.

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