Skip to main content
Glama

Resolve a place name to a geoid

resolve_place
Read-onlyIdempotent

Resolve a place name to its state, county, or school-district geoid for use with get_data. Returns ranked candidates so you pick the correct grain before querying.

Instructions

Find the state, county, or school-district geoid used by get_data.

Returns ranked candidates and does NOT auto-pick: ~30 states have a "Washington County", and a silently wrong pick is indistinguishable from a right one once it reaches a number. Name the place and geoid you chose in your answer. When candidates span geo levels (a county and a district of the same name), ASK — they are different grains with different coverage, so the wrong pick changes what is answerable, not just the number.

For every place in a state, skip this and use get_data(state="12").

Args: name: Place name — "Cook County", "Illinois", "Chicago Public Schools". District names are official NCES names. geo_level: "state", "county", or "district".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
geo_levelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds genuinely new behavior — it returns ranked candidates, deliberately does NOT auto-pick, and explains the ambiguity risk (duplicate county names, wrong-grain picks). It stops short of describing candidate payload shape, but the output schema exists for that.

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

Conciseness4/5

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

Front-loaded with purpose, then the no-auto-pick behavior, then the routing escape hatch, then args. Every sentence earns its place, though the Washington County illustration is slightly verbose and the mid-paragraph 'ASK' instruction interrupts the flow.

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

Completeness5/5

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

An output schema exists, so return shape needn't be explained, and the description still tells the agent how to use results (name the chosen place and geoid in the answer). For a two-parameter read-only resolver, nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the load, and it does: it defines 'name' with example formats ('Cook County', 'Chicago Public Schools') and the NCES-naming convention, and enumerates the three legal 'geo_level' values. It adds real meaning beyond the bare schema, though it does not state what happens when geo_level is omitted.

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+resource+outcome: 'Find the state, county, or school-district geoid used by get_data.' It also implicitly distinguishes itself from the get_data sibling by identifying itself as the name-to-geoid resolution step that feeds it.

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

Usage Guidelines5/5

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

Explicit routing rules: skip this tool entirely for statewide queries and use get_data(state="12") instead, and ASK the user when candidates span geo levels. Both the when-to-use and when-not-to-use cases are named with concrete conditions.

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

Deploy Server

Other Tools