Skip to main content
Glama

cmbs.news: CMBS loan data

Property comps

comps
Read-onlyIdempotent

Returns single-property CMBS loans as operating comparables: revenue, operating expenses, NOI (each per square foot), expense ratio, occupancy, DSCR and valuations, filtered by property type, metro, state, size and year built, with medians over every match. Use it for market operating benchmarks; use search_loans for loan status and terms.

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": "comps"
  }
}

Input Schema

NameRequiredDescriptionDefault
cbsaNoCensus CBSA metro code
typeNoProperty type
limitNoUp to 25 without a key, 400 with one; the medians always cover every match
stateNoTwo-letter state code
max_sqftNoMaximum square feet
min_sqftNoMinimum square feet
built_afterNoYear built at or after

Output Schema

NameRequiredDescriptionDefault
asOfNoEnd date of the latest reporting period in the filings behind this build, YYYY-MM-DD.
noteNoFree plan only, with capped: text saying how many matches were shown.
totalNoCount of properties matching the filters (single-property, not defeased loans only).
cappedNoFree plan only: true when the list stopped at the plan's 25 rows.
csvCapNoPro only, present only when total is above it: the most rows a CSV holds on this plan (5,000).
sourceNoFixed attribution text.
keyNoteNoSent when the key given was a placeholder (such as YOUR_KEY): the call was answered as a call without a key, and this says why.
mediansNoMedians over every match, not just the rows returned.
resultsNoThe matches, largest loan balance first (25 on the free plan, up to 400 with a key).
callsLeftNoWithout a key: calls left today on the free allowance, this one counted. Not sent with a Pro or Team key.
argumentNoteNoSent when an argument was renamed, read in another form or left out because it could not be used: says which and how.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Every field with its unit and codes, in full: https://cmbs.news/openapi.json (operation comps). Money in US dollars; a rate, occupancy or share is a fraction of 1 (0.0475 is 4.75%) unless it says percent; DSCR is a multiple; dates YYYY-MM-DD.",
      +  "properties": {
      +    "argumentNote": {
      +      "description": "Sent when an argument was renamed, read in another form or left out because it could not be used: says which and how.",
      +      "type": "string"
      +    },
      +    "asOf": {
      +      "description": "End date of the latest reporting period in the filings behind this build, YYYY-MM-DD.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "callsLeft": {
      +      "description": "Without a key: calls left today on the free allowance, this one counted. Not sent with a Pro or Team key.",
      +      "type": "integer"
      +    },
      +    "capped": {
      +      "description": "Free plan only: true when the list stopped at the plan's 25 rows.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "csvCap": {
      +      "description": "Pro only, present only when total is above it: the most rows a CSV holds on this plan (5,000).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "keyNote": {
      +      "description": "Sent when the key given was a placeholder (such as YOUR_KEY): the call was answered as a call without a key, and this says why.",
      +      "type": "string"
      +    },
      +    "medians": {
      +      "description": "Medians over every match, not just the rows returned.",
      +      "properties": {
      +        "dscr": {
      +          "description": "Median filed debt service coverage ratio.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "expenseRatio": {
      +          "description": "Median of operating expenses divided by revenue, a fraction of 1.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "noiPerSqft": {
      +          "description": "Median of NOI divided by square feet, dollars per square foot per year (not rounded).",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "occupancy": {
      +          "description": "Median occupancy, a fraction of 1.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "opexPerSqft": {
      +          "description": "Median of operating expenses divided by square feet, dollars per square foot per year.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "valuePerSqft": {
      +          "description": "Median of the latest valuation (appraisal) divided by square feet, dollars per square foot.",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "description": "Free plan only, with capped: text saying how many matches were shown.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "results": {
      +      "description": "The matches, largest loan balance first (25 on the free plan, up to 400 with a key).",
      +      "items": {
      +        "properties": {
      +          "appraisal": {
      +            "description": "Most recent valuation amount as filed, in dollars; null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "appraisalDate": {
      +            "description": "Date of the most recent valuation, YYYY-MM-DD; null when not filed.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "balance": {
      +            "description": "Current loan balance, in dollars.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cbsa": {
      +            "description": "Census CBSA (metro area) code as a string; null when the property is not in a metro area.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "city": {
      +            "description": "City of the property.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "dscr": {
      +            "description": "Latest debt service coverage ratio on NOI as filed (a ratio); null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "expenseRatio": {
      +            "description": "opex divided by revenue, a fraction of 1 rounded to 3 places; null when either is missing.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "finEnd": {
      +            "description": "End date of the most recent financial statement the figures come from, YYYY-MM-DD; null when not filed.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "noi": {
      +            "description": "Latest net operating income on a yearly basis, whole dollars; null when no usable yearly figure.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "noiPerSqft": {
      +            "description": "noi divided by sqft, dollars per square foot per year, rounded to cents; null when either is missing.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "occ": {
      +            "description": "Latest physical occupancy as filed, a fraction of 1 (0.7603 is 76.03%); null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "opex": {
      +            "description": "Latest yearly operating expenses from the servicer's statement, in dollars; null when not filed or when the statement cannot be read as a year's.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "opexPerSqft": {
      +            "description": "opex divided by sqft, dollars per square foot per year, rounded to cents; null when either is missing.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "revenue": {
      +            "description": "Latest yearly revenue from the servicer's statement, in dollars; null when not filed or when the statement cannot be read as a year's.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "revenuePerSqft": {
      +            "description": "revenue divided by sqft, dollars per square foot per year, rounded to cents; null when either is missing.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "slug": {
      +            "description": "The loan's id on cmbs.news.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "sqft": {
      +            "description": "Net rentable square feet as filed; null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "state": {
      +            "description": "Two-letter state code.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "description": "Property name as shown on its page.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Property type group. Values: office = Office; retail = Retail; multifamily = Multifamily; lodging = Hotel; industrial = Industrial (includes warehouse); mixed-use = Mixed use; self-storage = Self storage; manufactured-housing = Manufactured housing; healthcare = Healthcare; other = Any other Schedule AL property type.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "units": {
      +            "description": "Units, beds or rooms as filed (Schedule AL unitsBedsRoomsNumber): apartments, hotel rooms, beds; null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "description": "The loan's page on cmbs.news.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "valueUW": {
      +            "description": "Property value at securitization, in dollars; null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "valueUWDate": {
      +            "description": "Date of that securitization valuation, YYYY-MM-DD; null when not filed.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "yearBuilt": {
      +            "description": "Year built as filed; null when not filed.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "description": "Fixed attribution text.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Count of properties matching the filters (single-property, not defeased loans only).",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Up to 25 free, 400 with a Pro or Team key; the medians always cover every match"New value: +"Up to 25 without a key, 400 with one; the medians always cover every match"
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely non-obvious behavior: the response is an aggregate ('with medians over every match') and result caps depend on API credentials ('Up to 25 without a key, 400 with one; the medians always cover every match'), which is quota/access context an agent would otherwise miss. It stops short of describing how ties, empty result sets, or sample sizes are handled.

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?

Two sentences, front-loaded with the resource and its measures, followed by routing guidance — no filler. The first sentence is long and packs the metric list into one dense clause, which is efficient but slightly harder to scan than a short bulleted enumeration would be.

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?

An output schema exists, so return-shape explanation is unnecessary, and the description still flags that results are aggregated as medians rather than raw loans — the one thing an output schema alone might not convey. With all 7 optional parameters documented, the scope and aggregation caveat are sufficient 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 100%, so every parameter including the property-type enum is already documented in the schema, setting the baseline at 3. The description only restates the filter dimensions ('property type, metro, state, size and year built') without adding matching semantics such as whether min_sqft/max_sqft are inclusive or how CBSA vs state combine. It confirms coverage but contributes no new per-parameter meaning.

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?

Opens with a specific verb and resource: 'Returns single-property CMBS loans as operating comparables', then enumerates the exact output measures (revenue, opex, NOI per square foot, expense ratio, occupancy, DSCR, valuations) and the filter dimensions. It explicitly carves out the sibling boundary with search_loans, so an agent can choose between them without opening either 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?

States the intended job ('Use it for market operating benchmarks') and names the alternative with the condition that selects it ('use search_loans for loan status and terms'). This is an explicit when-to-use / when-to-use-something-else pairing rather than implied guidance.

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