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
Whensuccess is false, the error detail is in messages:
Related
- MCP tool errors — the
code,message, andretryablecontract - Error handling — REST status codes and message codes