Skip to main content
Glama

Tower and Wing: FHA-insured hospital loans (HUD Section 242)

FHA hospital loan portfolio statistics

get_portfolio_stats
Read-onlyIdempotent

Totals for FHA-insured hospital loans, nationally or for one state, computed from HUD's files: active loans and systems, original amount and HUD balance, median note rate, counts by program, loans still in construction, tax-exempt bond loans, and the history since 1968 (loans by endorsement decade, terminations, insurance claims and their original principal).

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

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter state or territory code, e.g. NY. Omit for the whole US.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety bar is low. The description adds genuine value beyond them: the data provenance ('computed from HUD's files') signals derived/snapshot figures, and it specifies historical coverage back to 1968 including terminations and insurance claims, which the annotations cannot convey.

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?

A single dense sentence with no filler; the core purpose and scope are front-loaded before the metric enumeration. The long list of metrics is information-dense rather than wasteful, though it borders on being a run-on read.

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

Completeness4/5

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

With no output schema, the description compensates by enumerating what the response contains (active loans, balances, median note rate, program counts, construction, bond loans, and the since-1968 history). For a read-only stats tool with one fully-documented param and complete annotations, this is close to sufficient; only freshness/as-of dating is left implicit.

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?

The single parameter is fully documented in the schema (two-letter code, omit for whole US), so the schema carries the syntax. The description reinforces the semantics by framing it as 'nationally or for one state,' which confirms the omission behavior, though it adds no format detail beyond 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?

States a specific verb+resource (aggregate totals for FHA-insured hospital loans) and enumerates the metrics returned, plus the national-vs-single-state scope. It implicitly separates itself from search_hospital_loans (row-level search) and get_hospital (single record) by being a totals/computation tool, but never names those siblings, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

The description makes clear you call it for aggregate figures and can scope by state or omit for the whole US, which implies the usage context. However, it gives no explicit when-to-use-this-instead-of guidance against search_hospital_loans or get_hospital, and no exclusions or prerequisites.

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