Skip to main content
Glama

Rental criteria for a listing

listing_requirements
Read-onlyIdempotent

The rental criteria a listing publishes — what every applicant for that home is held to (income as a multiple of the rent, credit, rental and eviction history, criminal history, occupancy, guarantors, documents to bring), each as a sentence the owner's numbers were turned into, with the law of the home's place folded in (legal, each with its citation). Quote the sentences; do not paraphrase a requirement. voucher is always printed: housing vouchers and other lawful income count, and the income requirement applies only to the part of the rent the applicant pays. status: "none" means the owner has NOT PUBLISHED criteria — never that there are no requirements; suggest asking the owner. To check whether someone qualifies, pass their answers (monthly_income, program_pays, credit_score, rental_years, household_size, guarantor_income — only what they tell you); check.outcome is likely, not_likely, incomplete or nothing_to_check and check.results explains each line. A "likely" is NOT an approval and a "not_likely" is not a refusal — the decision follows screening, after applying, and some owners accept a guarantor or other evidence. Nothing typed is stored, and the check never asks about court or criminal records. legal_limits is what the law allows on a listing at this home's address and rent — the same answer the listing form shows and the listing save enforces: fields (deposit, grace_period_days, late_fee, application_fee, broker_fee — each a sentence with its citation and verified_on; enforced: false means it is shown, not checked on the listing), local (the city's or town's own rules, e.g. New York City's ban on charging a tenant the landlord's broker fee, or a New Jersey town's rent control), unverified (fields with NO verified limit on file — NEVER say "there is no limit") and unreadable (could not be checked just now). A field that is absent is not a field with no limit. jurisdiction.candidates means the address could be in more than one town — say which one the answer assumed. legal_limits: null means it could not be read. Quote the sentence and its citation; it restates statutes Seayora has verified and is not legal advice (disclaimer).

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": {
      "listing_id": "<listing_id>"
    },
    "name": "listing_requirements"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYes
credit_scoreNo
program_paysNoHow much a month a housing program pays toward the rent, if any.
rental_yearsNoYears the person has rented or owned a home.
household_sizeNoPeople who would live in the home.
monthly_incomeNoThe household's gross monthly income, in dollars.
guarantor_incomeNoA guarantor's gross monthly income, if they have one.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
checkNo
itemsNo
legalNo
sourceNo
statusNo"published", or "none" when the owner has not published criteria (never "no requirements").
closingNo
summaryNo
voucherNo
sentenceNoPresent when status is "none".
documentsNo
truncatedNo
check_noteNo
listing_idNo
updated_onNo
owner_notesNo
legal_limitsNoWhat the law allows on a listing at this home's address and rent (services/listingLegalLimits.js). Null when it could not be read.
check_questionsNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / legal_limits
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "What the law allows on a listing at this home's address and rent (services/listingLegalLimits.js). Null when it could not be read.",
      +  "properties": {
      +    "disclaimer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "fields": {
      +      "additionalProperties": true,
      +      "description": "deposit, grace_period_days, late_fee, application_fee, broker_fee — each with a sentence, citation, verified_on and enforced. An absent field is NOT \"no limit\".",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "jurisdiction": {
      +      "additionalProperties": true,
      +      "description": "The city, town or county the address resolved to; `candidates` when it could be more than one.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "local": {
      +      "description": "The city's or town's own rules, each with kind, sentence, citation, verified_on and applies_in.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "rent": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "state": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "state_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "unreadable": {
      +      "description": "Fields that could not be checked just now.",
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "unverified": {
      +      "description": "Fields with no verified limit on file — never \"no limit\".",
      +      "items": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it a safe, idempotent read; the description goes well beyond by disclosing that nothing typed is stored, that the check never asks about court or criminal records, that legal_limits mirrors what the listing save enforces (enforced:false = shown but not checked), and how null/unverified/unreadable/absent differ. It also warns that 'likely' is not an approval and the decision follows screening.

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

Conciseness3/5

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

Nearly every clause carries information (null semantics, unverified vs absent, jurisdiction candidates), but it is delivered as one undifferentiated block of backticked terms with no segmentation, and some output-field explanation repeats the output schema. Front-loading is decent — the primary resource is stated first — but readability suffers.

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?

For a tool bundling criteria retrieval, an eligibility check and legal limits, the description covers the interpretive traps an agent would otherwise fall into: 'none' means unpublished, absent is not unlimited, unverified must never be reported as 'no limit', candidates mean multiple jurisdictions, and legal_limits:null means unreadable. Nothing material is missing.

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?

Schema coverage is 71% and already describes five of the seven parameters; the description adds real meaning beyond it — the six check inputs are enumerated, partial answers are acceptable, and program_pays interacts with the income requirement (only the applicant-paid portion is tested). listing_id itself is not further explained.

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?

The description names a precise resource — the rental criteria a listing publishes (income multiple, credit, rental/eviction history, criminal history, occupancy, guarantors, documents) — plus the qualification check and legal_limits carried alongside it. It is clearly distinguishable from sibling eviction_requirements, which covers a different requirement set.

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

Usage Guidelines4/5

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

It states concrete usage conditions: pass applicant answers only when checking qualification and only what they tell you, and when status is 'none' the guidance is explicit ('never that there are no requirements; suggest asking the owner'). It also frames the meaning of likely/not_likely for the agent's reply. No sibling alternative is named explicitly, keeping it at 4.

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