Search states MCP tool
Searches GovTribe state records and returns state profiles with names, USPS codes, and canonical URLs.
- MCP tool name:
Search_States - Data type: State data type
- Returns: State MCP response
- Search modes: Keyword
- Annotations: Read only, not destructive, idempotent, closed world
- Available in: GovTribe AI, GovTribe MCP
Examples
Text searches use relevance (_score descending), the only sort this tool supports.
When an example resolves a related record first, pass the returned govtribe_id into the target search.
Identifier filters
Use govtribe_ids for GovTribe state record IDs returned as govtribe_id. The existing state_ids field also accepts a GovTribe state ID, a case-insensitive USPS code, or a full state or territory name. Prefer a returned govtribe_id; see Location filtering for unique-match and error-repair behavior.
Which states mention facility modernization?
{
"tool": "Search_States",
"arguments": {
"query": "facility modernization",
"fields_to_return": [
"govtribe_id",
"name",
"updated_at",
"govtribe_type",
"govtribe_url"
]
}
}Which states exactly mention "technical support services"?
{
"tool": "Search_States",
"arguments": {
"query": "\"technical support services\"",
"fields_to_return": [
"govtribe_id",
"name",
"updated_at",
"govtribe_type",
"govtribe_url"
]
}
}Which states have I favorited?
Pass favorited: true to limit results to states you are monitoring. Records enter that list through Set favorite or the heart control in GovTribe Web. Only true is supported; omit the argument to search everything.
{
"tool": "Search_States",
"arguments": {
"favorited": true,
"fields_to_return": [
"govtribe_id",
"name"
]
}
}Related articles
- State MCP response: Review the response shape returned by this tool.
- State data type: Understand the shared record fields and relationships used by this tool.
- Choose a search mode and write queries: Choose a search mode and write
queryvalues. - Source identifiers and record matching: Use GovTribe IDs and source identifiers when passing records between tools.