Skip to main content
Glama

Owner statement of a period

get_owner_statement
Read-only

The owner statement (liquidación) of a property you manage on behalf of its owners, for one month or quarter (the property's statementFrequency), as on its Statements tab: income by rental, expenses by category, the management fee, the net paid out to the owners and each owner's share, the configured recipients and whether it was already sent, and pdfUrl: a 15-minute link to the official PDF. When the user asks for the PDF, give them pdfUrl; never draw your own version of a statement. includeContent also attaches the PDF for clients that can read it. When the user names no period, use the last month that has ended (or the last quarter, on a quarterly property). Needs managementConfig.enabled on the property (see update_property) and a plan with the statements feature. Always pass lang with the language of the user's message. The user sees the result as a screen: call this again whenever they ask to see these, even if you already have the data.

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": {
      "propertyId": "<propertyId>",
      "year": "<year>"
    },
    "name": "get_owner_statement"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the screen and the PDF (default es)
yearYesYear, e.g. 2026 (this year or the four before)
monthNoMonth 1-12 — on a property with monthly statements
quarterNoQuarter 1-4 — on a property with quarterly statements
propertyIdYesThe property ID
includeContentNoAttach the PDF as well as giving pdfUrl

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description still adds real behavioral context: the pdfUrl is a 15-minute link, includeContent attaches the PDF for clients that can read it, and results are rendered as a screen so the same call must be repeated. It discloses access prerequisites (config plus plan feature) that an agent could not infer from the annotations.

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?

Content is front-loaded with the resource and its payload, then moves to PDF handling, defaults, prerequisites and the re-call rule — each sentence carries actionable weight. The opening sentence is a long comma-chained enumeration of returned fields, which slightly hurts scanability but is not filler.

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

Completeness5/5

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

With no output schema and six parameters, the description compensates by enumerating the returned fields, explaining the pdfUrl contract and its expiry, and stating gating prerequisites. An agent has everything needed to call it correctly and interpret the result without guessing.

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%, so 3 would be the baseline, but the description adds meaning beyond the schema: month vs. quarter depends on the property's statementFrequency, the period defaults to the last completed month/quarter, and lang must always be passed matching the user's message language. Only year's 'this year or the four before' constraint is left entirely to the schema.

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 states a specific resource (the owner statement / liquidación of one property for one month or quarter) and enumerates its contents: income, expenses by category, management fee, net payout, owner shares, recipients, send status and pdfUrl. This clearly separates it in substance from summary-style siblings like get_income_summary. It never names a sibling (e.g. list_owner_statements), so the single-period vs. list distinction is only implied by 'for one month or quarter'.

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

Usage Guidelines5/5

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

It gives explicit when-to-use and when-not-to-act guidance: hand the user pdfUrl rather than composing a statement yourself, default to the last completed month (or quarter on a quarterly property) when no period is named, and re-call on every 'show me these' request even if the data is cached. It also names prerequisites (managementConfig.enabled on the property, a plan with the statements feature) that gate invocation.

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.