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

After every tool call, read success, count, and messages before reading data.
See Response envelope and Error handling.

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.