Skip to main content
Glama

A stay's folio

folio
Read-only

One stay's folio by confirmation number: each posted line (date, what it is, charge or payment, amount, tax) and the balance. Payments are negative. For a stay in a group, the nights billed to the group too. 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": {
      "confirmation": "<confirmation>"
    },
    "name": "folio"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmationYesConfirmation number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, yet the description adds real substance beyond them: the exact fields per posted line, the sign convention ("Payments are negative"), group-night inclusion, and the owner sign-in requirement. That sign convention is a genuine interpretation aid an agent could not derive from structured fields.

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 resource and key are front-loaded, then return contents, then the two caveats, then the auth note — a logical order with no filler. The telegraphic fragment style is terse but readable; nothing is redundant.

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?

No output schema exists, so the description carries the burden of explaining return content, and it does so by listing line fields and the balance. For a one-parameter read tool, auth requirements plus a group-stay edge case leave little an agent still needs.

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?

With 100% schema coverage on the single `confirmation` parameter, the schema already documents the argument fully. The description restates "by confirmation number" but adds nothing about format, sourcing, or behavior on an unknown confirmation, so this is baseline territory.

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 the specific resource (one stay's folio) and the lookup key (confirmation number), and enumerates what a folio contains. An agent can tell this returns a financial ledger rather than stay details or a payment list. It stops short of naming the sibling `payments` or `stay` as the alternative, so differentiation is inferred rather than stated.

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?

Gives an access prerequisite ("Needs the owner's sign-in") and scopes usage to a single stay, which implicitly means using `stays` first to obtain a confirmation number. However, it never says when to prefer this over `payments` or `stay`, leaving the agent to guess between overlapping financial/detail tools.

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