Skip to main content
Glama

Search County Migration Flows

migration_flows_search
Read-onlyIdempotent

Search IRS county-to-county migration flows by county/state name. Returns place_id ({state_fips}-{county_fips}) to pull a county's net migration (returns/people/AGI in vs out, FY2022-2023) and its top origin/destination counties. Aggregate IRS statistic — zero PII.

Input Schema

NameRequiredDescriptionDefault
qYesCounty or state name (>=2 chars)
limitNoMax results (default 25, max 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the description only needs to add what they cannot. It does: it discloses the return payload (place_id keyed as {state_fips}-{county_fips}, net flows in returns/people/AGI, top origin/destination counties), the data vintage (FY2022-2023), and the privacy posture (aggregate IRS statistic, zero PII). Only pagination/ordering behavior is left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action and resource, then the identifier format, then provenance/privacy. No filler and nothing repeated from the schema beyond what is needed for orientation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-value burden and does so by explaining place_id, the metric families, and the vintage. It is nearly complete for a two-parameter search; the only gap is ordering/pagination semantics for limit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both q and limit are already documented, and the baseline is 3. The description reinforces that q accepts county or state names but adds no syntax, matching rules, or limit behavior beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (search) plus the precise resource (IRS county-to-county migration flows) and the lookup key (county/state name). It also names the data vintage and provenance, so an agent can distinguish this from the many other *_search tools without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the mention of returning a place_id 'to pull a county's net migration and top origin/destination counties' hints at a two-step pattern, but there are no explicit when-to-use/when-not conditions or named alternatives. A sibling such as ag_census_county_search or income_by_zip_search is never contrasted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.