Skip to main content

Why patterns matter

LLMs call tools accurately when workflows are explicit and constrained. These patterns encode the rules that keep Cotality tool calls correct and prevent common agent failures like hallucinated CLIPs, invalid temporal queries, and fabricated values on 404.

Pattern 1 — Identity before data

Always resolve an address to a CLIP before calling any data tool. Never guess or fabricate a CLIP.

Pattern 2 — Check exclusions before calling

Every data tool page has an Exclusions row. Check it before calling. Do not send commercial or non-U.S. queries to U.S. residential tools.

Pattern 3 — Structure loop

A parcel can have multiple buildings. Check before assuming a single structure.

Pattern 4 — Temporal correctness

Set date ranges to the asset’s cadence. See Data freshness.

Pattern 5 — Envelope check

The CLIP, property, risk, and analytics MCP tools return only data and count. Check for a tool error first, then check count, before reading data.
Do not test resp.success on these tools — there is no success field, so the check never becomes true. “No match” is a successful response with count of 0, not an error.
See Response envelope and MCP tool errors.

Pattern 6 — Modelled vs. recorded data

Some fields are statistical estimates, not county records. Always check indicator fields before presenting data as authoritative.

Pattern 7 — Multi-agent research

For complex workflows, coordinate specialized agents against one MCP source:
Turn these patterns into ready-to-use system instructions with System prompt templates.