Skip to main content
Glama

section8-housing-tools

calculate_voucher_rent_affordability

Read-onlyIdempotent

Calculate estimated Section 8 Housing Choice Voucher tenant rent share, PHA housing assistance payment (HAP), and whether a unit clears the 40% initial-lease income cap.

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": {
      "monthly_adjusted_income_usd": "<monthly_adjusted_income_usd>",
      "contract_rent_usd": "<contract_rent_usd>",
      "pha_payment_standard_usd": "<pha_payment_standard_usd>"
    },
    "name": "calculate_voucher_rent_affordability"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_rent_usdYesLandlord monthly asking rent in USD.
utility_allowance_usdNoPHA monthly utility allowance in USD (default 150).
pha_payment_standard_usdYesLocal Housing Authority payment standard for the voucher bedroom size.
monthly_adjusted_income_usdYesHousehold monthly adjusted income in USD.

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 readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real domain context beyond that: it discloses the three computed outputs and the specific 40% initial-lease income-cap rule being applied, which an agent could not derive from the structured fields. It does not state assumptions or edge-case behavior (e.g., what happens when the cap fails).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the calculation and then enumerates the outputs and the regulatory check. No filler, no restatement of the tool name, nothing that could be trimmed without losing meaning.

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?

There is no output schema, so the description usefully enumerates the return values (tenant rent share, HAP, cap pass/fail), which is the critical piece an agent needs. For a four-parameter deterministic calculator this is nearly sufficient, with only minor gaps around rounding, units of the results, and failure semantics.

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%, with every parameter documented including units, bounds, and the utility-allowance default, so the schema carries parameter meaning. The description adds no additional parameter guidance such as the interaction between contract rent and payment standard. Baseline 3 is appropriate when the schema already does this work.

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 names a specific verb and a precisely scoped resource: it calculates Section 8 Housing Choice Voucher tenant rent share, the PHA housing assistance payment (HAP), and the 40% initial-lease income-cap test. That is far more specific than the tool name alone. It stops short of naming or contrasting the sibling check_section8_income_limit_tier, so an agent must infer the division of labor.

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 scenario is implicit but clear: use this for a voucher unit's rent burden and subsidy math. There is no explicit statement of when to prefer it over check_section8_income_limit_tier, and no preconditions (e.g., that income must already be adjusted, or that a payment standard for the right bedroom size is required) are called out.

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