Skip to main content
Glama

Payments on a day

payments
Read-only

Every payment and refund posted on one day, hotel time: time, method (card, cash, other), amount, the stay and guest, who posted it; totals by method. Refunds are negative. 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": "payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDay YYYY-MM-DD (default today)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's job is to add context, and it does: it specifies hotel time as the day boundary, states that refunds appear as negative amounts, and notes the owner's sign-in is required. It does not cover volume or ordering behavior, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence packing scope, return fields, sign convention, and the auth prerequisite, with zero filler. Dense but every clause earns its place, and the sign convention appears where it matters for interpreting the numbers.

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 read-only, single-parameter report with no output schema, the description is nearly self-sufficient: it enumerates the returned fields and their sign semantics so an agent can reason about results without one. The remaining gap is scale, since a busy day could return far more than one response can carry and nothing says so.

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% and the date pattern and default are already documented, setting the baseline at 3. The description adds real meaning beyond the schema by fixing the day boundary to hotel time, which resolves the timezone ambiguity the regex pattern cannot express.

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?

Names a specific resource and scope: every payment and refund for one day, plus the exact fields returned (time, method, amount, stay/guest, poster) and totals. It is clear what the tool fetches, though it never explicitly contrasts itself with folio or stays, which are the nearest siblings.

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 implied rather than stated: it is a single-day financial report, so the when-to-use context (daily reconciliation) can be inferred. There is no explicit guidance on when to use folio or stays instead, and no note on how to handle a day too large to return at once.

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