Skip to main content
Glama

Analyze Financials

analyze_financials
Read-onlyIdempotent

Detailed single-period financial breakdown with per-account line items (when show_detail=True). Pulls the standard ProfitLoss report (report 43).

Provides line-item detail for a single period (an audit-style breakdown), matching "the standard P&L statement" / "the regular P&L". General "P&L", "Profit and Loss" and "T12" views come from analyze_pl_trend, which runs the 12-month recap report (ProfitLossRecapMonth), the default P&L view for this product.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_financials"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
locationNo
portfolioNo
start_dateNo
show_detailNo
property_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real operational context beyond them: multi-Location fan-out, per-Location labelling, skipped unreachable Locations, and the warning that property/tenant IDs are scoped to one Location. It stops short of describing how the period is bounded or what happens when start/end dates are omitted.

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?

Front-loaded with the core identity and sibling routing before the location detail, and the location rules are grouped in one block. There is some redundancy: 'Detailed single-period financial breakdown' is restated as 'Provides line-item detail for a single period (an audit-style breakdown)', and heavy RST-style backticks add noise without information.

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?

The output schema means return values needn't be explained, and location handling is well covered. But for a financial reporting tool, the absence of any guidance on start_date/end_date (both optional with empty-string defaults), portfolio, and property_ids leaves the period and filter semantics undefined, which is a material gap for correct invocation.

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 0%, so the description must carry all parameter meaning; it does so thoroughly for location (ID, comma list, 'all', blank fallback) and briefly for show_detail. The other four parameters — start_date, end_date, portfolio, property_ids — get no explanation at all, leaving the most consequential period-selection inputs undocumented.

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?

States a specific verb and resource (detailed single-period financial breakdown, per-account line items), names the underlying report (ProfitLoss, report 43), and explicitly separates itself from analyze_pl_trend. An agent can distinguish the audit-style single-period view from the 12-month recap without opening a schema.

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?

Gives an explicit routing rule: general 'P&L', 'Profit and Loss' and 'T12' views belong to analyze_pl_trend, while this tool serves the audit-style single-period breakdown. It also names list_locations as the source of location IDs, so the prerequisite lookup is discoverable.

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