Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

cdc_life_expectancy

Read-only

Retrieve U.S. life expectancy at birth by race and sex for any year from 1900 to 2018.

Instructions

Get U.S. life expectancy at birth by race and sex (1900–2018). Races: 'All Races', 'Black', 'White'. Sex: 'Both Sexes', 'Male', 'Female'. Note: Data goes through 2018. For more recent mortality trends, use cdc_mortality_rates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sexNoSex filter
raceNoRace filter
yearNoYear (1900–2018)
limitNoMax records (default 200)
Behavior4/5

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

Annotations declare readOnlyHint=true, so the safety profile is already covered. The description adds the important behavioral limitation that data only goes through 2018, which is critical for setting user expectations. It does not mention pagination or default limits, but the core limitation is disclosed.

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?

The description is concise and well-structured: a single clear sentence stating the main function, a second listing valid values, and a third providing a temporal caveat and an alternative tool. Every sentence serves a purpose without redundancy.

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 straightforward lookup tool, the description covers the essential context: the source (U.S. life expectancy), the filters (race, sex), the time range, and a pointer to an alternative for newer data. The lack of an explicit return format is minor since the nature of the data is clear from the name and description.

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?

The input schema provides descriptions and enums for all 4 parameters, giving 100% coverage. The description lists the enum values for race and sex, but these are already in the schema, so it adds no new semantics beyond what the schema provides. Thus, a baseline score of 3 is appropriate.

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 clearly specifies the action ('Get'), the resource ('U.S. life expectancy at birth'), and the dimensions (race and sex) with a clear time range (1900–2018). It also distinguishes itself from sibling tools by explicitly mentioning cdc_mortality_rates as an alternative for more recent data.

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?

The description provides explicit when-to-use guidance by noting data ends in 2018 and directing users to cdc_mortality_rates for more recent mortality trends. This is a clear, actionable alternative that helps an agent choose the right tool.

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/cyntrica/gov-data-mcp'

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