Skip to main content
Glama

Recargos of a rental

get_rent_surcharges
Read-only

Recargos (late-payment surcharges) of a long-term rental: the property's config (recargosConfig, set with update_property), those applied, those Keyio proposes (overdue months past the grace days, with their amount) and the months whose proposal was dismissed. Requires the rent 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": "get_rent_surcharges"
  }
}

Input Schema

NameRequiredDescriptionDefault
rentalIdYesThe rental ID (a long-term let)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 openWorldHint=false, so safety is covered; the description adds the feature-flag prerequisite and, more importantly, discloses the shape of the content (config vs applied vs proposed vs dismissed) so the agent knows it is an aggregated read-only view, not a single record. It stops short of describing freshness, sorting, or what happens when no proposals exist.

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?

It is a single sentence that front-loads the resource and then unpacks the return contents in a logical order. It is dense but every clause carries information; the parentheses around the expansion of 'recargos' earn their place for a non-Spanish speaker.

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?

There is no output schema, so the description correctly compensates by enumerating the four things the result contains. Combined with the prerequisite and the one fully documented parameter, an agent has enough to call it correctly and interpret the response, though noting behavior for rentals with no overdue months would close the remaining gap.

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 one parameter at 100% schema coverage, the schema already fully documents rentalId, so the baseline is 3. The description only marginally enriches this by clarifying that the rental in question is a long-term let, which is already implied by the schema's own description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (recargos / late-payment surcharges of a long-term rental) and enumerates exactly what is returned: the property's recargosConfig, applied surcharges, Keyio's proposals for overdue months past grace, and dismissed proposals. It also ties the config back to update_property, which sets it, so an agent can place it relative to at least one other tool.

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: read this to see the surcharge situation for a given rental. The prerequisite 'Requires the rent payments feature' is a genuinely useful gating condition. However, there is no explicit when-not guidance and no pointer to an alternative such as get_late_payment_escalation, which an agent might reasonably confuse with this.

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.