Skip to main content
Glama
brockwebb

Open Census MCP Server

by brockwebb

explore_variables

Discover U.S. Census variables by describing concepts in plain language to identify correct codes for demographic, economic, and housing data analysis.

Instructions

Discover Census variables by concept or keyword.

Use when the user describes what they want in plain language and you need to identify the correct variable codes.

Returns matching variables with descriptions and table context.

NOTE: Variable search is a known weak spot. This provides basic keyword matching. Results may be incomplete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conceptYesNatural language description e.g. "household income", "poverty rate"
yearNoData year (default 2024)
productNo"acs5" or "acs1" (default "acs5")acs5
Behavior4/5

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

With no annotations provided, the description carries the full burden. It successfully discloses return values ('Returns matching variables with descriptions and table context') and honestly warns about limitations ('known weak spot', 'basic keyword matching', 'Results may be incomplete'). Minor gap: does not explicitly confirm this is read-only, though implied by 'Discover'.

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?

Perfectly structured with four discrete sentences: purpose (1), usage guidelines (2), return value (3), and limitations (4). No redundancy or filler; every sentence earns its place with high information density.

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?

For a 3-parameter discovery tool with 100% schema coverage and no output schema, the description adequately covers purpose, usage context, return behavior, and reliability warnings. Sufficient for an agent to invoke correctly, though could mention authentication or rate limiting if applicable.

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 coverage is 100%, establishing a baseline of 3. The description mentions 'concept or keyword' which aligns with the concept parameter, but does not add syntax details, validation rules, or semantic nuances beyond what the schema already provides via its examples and default values.

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?

The description opens with a specific verb ('Discover') + resource ('Census variables') + mechanism ('by concept or keyword'), clearly distinguishing it from sibling 'get_census_data' (which presumably fetches data by known codes rather than discovering them).

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

Usage Guidelines4/5

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

Explicitly states when to use ('when the user describes what they want in plain language and you need to identify the correct variable codes'), effectively implying the alternative (use get_census_data when codes are already known). However, it does not explicitly name the sibling alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brockwebb/open-census-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server