Skip to main content
Glama

A-du: ADU rentals, plans and rules

Match pre-approved plans to a lot

match_plans_to_lot
Read-onlyIdempotent

Given an address or APN, find which A-du Build plan sets physically fit the lot: the buildable envelope is computed from the county parcel and building footprints with the local setback table, then every published plan is placed in it and scored by size, bedrooms, pre-approval in that city and how tightly it fits. Returns the best match and up to three alternates with URLs. Use for "which ADU plans would fit my backyard". Los Angeles County only for the fit step. Example: {"address": "12237 Wendy Dr, Cerritos, CA 90703"}.

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

Input Schema

NameRequiredDescriptionDefault
apnNoAssessor parcel number, punctuated as the county prints it (7056-012-013 in Los Angeles, 639-660-14-00 in San Diego, 269-0203-005-0000 in Sacramento, 779-250-015 in Riverside).
countyNoForce the county: la (Los Angeles), sd (San Diego), sac (Sacramento) or riv (Riverside). Usually inferred from the address.
addressNoStreet address with city; ZIP helps. Example: "12237 Wendy Dr, Cerritos, CA 90703".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / apn / description
      Previous value: -"Assessor parcel number, punctuated as the county prints it (7056-012-013 in Los Angeles, 639-660-14-00 in San Diego)."New value: +"Assessor parcel number, punctuated as the county prints it (7056-012-013 in Los Angeles, 639-660-14-00 in San Diego, 269-0203-005-0000 in Sacramento, 779-250-015 in Riverside)."
    • changedInput schema / properties / county / description
      Previous value: -"Force the county: la (Los Angeles) or sd (San Diego). Usually inferred from the address."New value: +"Force the county: la (Los Angeles), sd (San Diego), sac (Sacramento) or riv (Riverside). Usually inferred from the address."
    • changedInput schema / properties / county / enum
      Previous value: -[
      -  "la",
      -  "sd"
      -]New value: +[
      +  "la",
      +  "sd",
      +  "sac",
      +  "riv"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantive behavior on top: how the buildable envelope is derived (parcel + footprints + local setback table), how plans are scored (size, bedrooms, pre-approval in that city, tightness of fit), the coverage limit on the fit step, and what is returned. That is unusually complete disclosure for a read-only tool.

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?

Three sentences, front-loaded with the outcome, then mechanism, then usage and scope. The trailing example duplicates the address example already present in the schema, which is the only mildly redundant element.

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 correctly takes on the return contract — best match plus up to three alternates with URLs — and discloses the geographic limitation on the fit step. For a three-optional-parameter read tool, nothing an agent needs to call it correctly is missing.

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%, including the APN formatting examples and the county enum with the note that county is usually inferred from the address. The description only reinforces that either an address or an APN is acceptable, adding no new syntax or precedence rules beyond the schema, so the baseline 3 applies.

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 and resource — find which published plan sets physically fit a given lot — and scopes the input ('given an address or APN'). It is clearly distinguishable from search_plans, which is a catalog search rather than a fit computation.

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?

Provides a concrete use case in the user's own words ('which ADU plans would fit my backyard') and a hard boundary: 'Los Angeles County only for the fit step.' It stops short of naming a sibling to use for non-LA lots or for non-fit plan lookups, which leaves some routing inference to the agent.

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