Skip to main content
Glama

Analyze Net Operating Income

analyze_noi
Read-onlyIdempotent

Compute Net Operating Income (NOI) for a single period — Operating Income minus Operating Expenses, non-operating items excluded.

Returns a single aggregate NOI number for a period. 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.

Args: portfolio: Named portfolio or 3-letter prefix. property_ids: Comma-separated IDs. Alternative to portfolio. start_date: MM/DD/YYYY. Defaults to Jan 1 of current year. end_date: MM/DD/YYYY. Defaults to Dec 31 of current year.

``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_noi"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
locationNo
portfolioNo
start_dateNo
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.7/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/closed-world, and the description adds real behavior beyond them: the result is a single aggregate figure, output is labelled per Location in multi-Location runs, and unreachable Locations are reported as skipped. That skip/partial-result disclosure is the kind of detail annotations cannot convey; only rate/limit-style edge cases are absent.

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 definition and the sibling routing before the argument list, which is the right order. Minor deductions: the location arg is separated from the Args block by a stray blank line and an indent break, and "Returns a single aggregate NOI number for a period" partly restates the opening sentence.

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?

Five optional parameters, zero required, an output schema present, and full prose documentation of every parameter plus multi-Location resolution and skip behavior. An agent has everything needed to construct a correct call and interpret a partial result without consulting other tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema only supplies titles and empty-string defaults, so the description carries the full burden — and it does: portfolio (named or 3-letter prefix), property_ids (comma-separated, alternative to portfolio), start_date/end_date (MM/DD/YYYY with real Jan 1 / Dec 31 defaults, which differ from the schema's blank defaults), and location (ID, comma list, or "all").

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 ("Compute Net Operating Income") and defines it precisely as "Operating Income minus Operating Expenses, non-operating items excluded", scoped to a single period. It also names the sibling that handles the adjacent case (analyze_pl_trend for general P&L/T12), so an agent can separate the two 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?

Explicitly says this returns a single aggregate NOI number and routes P&L / Profit and Loss / T12 requests to analyze_pl_trend, naming the underlying report. It also gives usage conditions for location (blank = all Locations when the connection has several, else its only Location) and warns that IDs belong to one Location, so a Location must be passed when filtering by ID.

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