Skip to main content
Cotality returns two different response shapes. Which one you get depends on what you call.
Do not test response.success against the CLIP, property, risk, or analytics MCP tools. Those tools never return a success field, so the check reads as missing on every call — including successful ones. Branch on the MCP error flag instead.

MCP tool envelope

The CLIP, property characteristics, climate risk, and market analytics tools return a two-field object on success.
Failure is not expressed in this object at all. A failed call returns an MCP error whose content is a ToolError payload with code, message, and retryable. See MCP tool errors.
Fields with no value are omitted from the response rather than returned as null. Treat an absent field and a null field as the same thing — no data available for that property. Field reference tables on the tool pages list every field a tool can return, not every field it will return.

Rules for consumers

1

Check for an MCP error first

Your MCP client surfaces tool failures as an error result. Handle that before reading data. Read the retryable flag to decide whether a retry can help.
2

Treat a count of 0 as a valid answer

An unmatched CLIP, address, or geography is not an error on these tools. You get a successful response with count of 0 and an empty data array. Report “no match” — never fabricate a value.
3

Respect count

Iterate exactly count items from data. Do not assume a single result — parcels, properties, and geographies can return multiple records.

Example — property characteristics (abridged)

REST envelope

Cotality REST endpoints — and the valuation and credit MCP tools that wrap them — return a four-field envelope. Parse all four before reading the payload.

Error envelope

When success is false, the error detail is in messages:
See Error handling for the full list of codes and agent actions.
For AI agents: on REST responses, check messages before summarising results. Non-empty messages often explain why a result is partial, estimated, or about to change.