Skip to main content
Glama

List a rental's charges and payments

list_rent_payments
Read-only

The charges of a rental — each month's rent for a long-term rental (up to next month), or a stay's deposit/balance/payment-plan milestones — with their due date, expected and received amounts, status (paid, partial, pending, due, late) and the payments recorded. Requires the payments feature.

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": {
      "rentalId": "<rentalId>"
    },
    "name": "list_rent_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOnly charges of this year
rentalIdYesThe rental ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the feature-dependency prerequisite, which annotations do not capture. It also enumerates what comes back (due date, expected and received amounts, status values, recorded payments), filling in for the absent output schema.

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 that front-loads the resource ('The charges of a rental') and then qualifies it. The parenthetical is long but every clause conveys real information about scope or return content; 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?

With no output schema, describing the returned fields and status values is exactly the right compensation, and the feature prerequisite is disclosed. The only material gaps are the absence of when-to-use guidance against siblings and any mention of the year filter.

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?

Schema description coverage is 100%, so both parameters are already documented, and the description adds no additional meaning — it never mentions rentalId or the year filter. Baseline 3 applies since the schema carries the parameter burden.

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 names the resource precisely — a rental's charges — and distinguishes two content shapes (monthly rent for long-term rentals vs. deposit/balance/payment-plan milestones for stays), which is far more specific than a tautology. It stops short of stating an explicit verb or differentiating itself from siblings such as get_rental or list_rentals.

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 only implied: the reader infers this is the tool for viewing a rental's financial schedule. The one explicit condition is a prerequisite — 'Requires the payments feature' — which is genuinely useful gating information, but there is no statement of when to prefer this over get_rental or list_rentals.

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.