Skip to main content
Glama

Vorauszahlungen (Soll/Ist)

get_advance_payment_status
Read-only

Retrieves a tenant's monthly target and actual advance payment status for operating costs, including open amount and balance, optionally filtered by calendar year.

Instructions

Soll und Ist der Nebenkostenvorauszahlungen eines Mieters je Monat, mit offenem Betrag und Saldo.

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": {
      "tenant_id": "<tenant_id>"
    },
    "name": "get_advance_payment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNonur die Monate dieses Kalenderjahrs; Summen gelten immer für die ganze Mietzeit
tenant_idYesID des Mieters, siehe Werkzeug list_tenants

Output Schema

NameRequiredDescriptionDefault
monthsYes
balanceYesoutstanding minus overpaid; positiv: der Mieter ist im Rückstand
overpaidYes
outstandingYesSumme der Rückstände, über alle Monate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 usefully discloses the dimensions of the result (plan vs actual per month, plus open amount and balance), but says nothing about how monthly rows relate to a partial year, what happens when no advance payments exist, or the currency/granularity of the balance – the schema hints the sums span the whole tenancy, which the description does not reinforce.

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?

One dense sentence with zero filler that front-loads both the comparison (Soll vs Ist) and the output shape. It is a noun-phrase fragment rather than an action statement, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only reporting tool with a 100%-covered two-parameter schema and an output schema, the essential purpose is conveyed and safety is covered by annotations. What is missing is routing information – when to reach for this versus the other status/list tools – which matters given the crowded reporting sibling set.

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%, and the schema itself explains that year restricts months while sums always cover the full tenancy period and that tenant_id refers to list_tenants. The description adds nothing beyond 'eines Mieters je Monat', so it sits at the baseline where the schema does the work.

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 a specific resource – a tenant's Nebenkostenvorauszahlungen – and states the exact content per month (Soll/Ist, offener Betrag, Saldo), so an agent knows precisely what data comes back. It lacks an explicit verb and does not contrast itself with related reporting siblings like get_billing_year_status or get_statement, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says whether this is for checking arrears, reconciling a statement, or preparing a billing run. No alternative or exclusion is named, leaving the agent to infer selection from the sibling name list alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.