Skip to main content
Glama
chrischall
by chrischall

Resolve an address to its Redfin canonical URL + home_id

redfin_get_by_address
Read-onlyIdempotent

Resolve a free-text address to its Redfin home URL and home_id for follow-up property lookups. Uses autocomplete, suffix expansion, and search fallback to handle misses.

Instructions

Resolve a free-text address (with optional city/state/zip) to its Redfin canonical home URL and home_id. Walks a 3-rung ladder: (1) autocomplete as-typed, (2) autocomplete with suffix expansion (Rd ↔ Road, Ln ↔ Lane, etc.), (3) search fallback (#75) — when autocomplete misses entirely and city/state are provided, resolves the locality to a region, fires a bounded gis search, and fuzzy-matches the input street tokens against returned homes. matched_via is 'autocomplete' or 'search_fallback'. A miss on every rung returns resolved: false (with the attempts tried) rather than an error; a signed-out session, bridge failure or region mismatch is still reported as an error. Address discrepancies across MLS feeds are common (the 109 vs 169 Overlook Point Ln cross-MLS case is a regular occurrence) — redfin_get_property on the resolved URL surfaces them as address_alternates[] (#42). Use this when you have a property address and need its Redfin home_id for follow-on calls (e.g. redfin_get_property). Read-only, no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNoZIP code (e.g. "28746").
cityNoCity name (e.g. "Lake Lure").
stateNoTwo-letter state code (e.g. "NC").
addressYesStreet address (e.g. "158 Raven Blvd").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.10.1

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the readOnlyHint/idempotentHint/openWorldHint annotations: it discloses the 3-rung resolution ladder, the matched_via discriminator, that a total miss returns resolved:false with attempts rather than throwing, and that signed-out sessions, bridge failure or region mismatch DO surface as errors. That error-vs-empty-result boundary is the most decision-relevant behavior for an agent and is not in any structured field.

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 core purpose and the ladder, and most clauses carry real information. Some internal issue references (#75, #42) and the parenthetical cross-MLS anecdote add length without much selection value, costing a point.

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?

With no output schema, the description still names the returned fields (matched_via, resolved, attempts) and the error conditions, and it ties the result to the next call in the chain. Nothing needed to invoke or interpret this tool correctly 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 100%, so baseline is 3. The description adds genuine meaning: address is free-text and city/state/zip are optional, plus the non-obvious dependency that city/state are what enable rung 3's locality-to-region search fallback. That conditional relevance is beyond what the schema says.

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 (resolve) and resource (free-text address → Redfin canonical URL + home_id), and goes further by naming the exact follow-on sibling (redfin_get_property) and the cross-MLS discrepancy case it feeds. An agent can distinguish it from redfin_resolve_addresses / redfin_bulk_get by the single-address scope stated in the name and text.

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?

Explicit trigger: 'Use this when you have a property address and need its Redfin home_id for follow-on calls (e.g. redfin_get_property).' It also implies when the fallback rung applies (city/state provided). It never states when NOT to use it, notably against the very similar sibling redfin_resolve_addresses, which is the one real routing gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.