Skip to main content
Glama
lzinga

US Government Open Data MCP

by lzinga

naep_compare_groups

Read-onlyIdempotent

Compare NAEP scores by race, gender, and poverty status, using significance testing to reveal achievement gaps.

Instructions

Compare NAEP scores across demographic groups (race, gender, poverty) with significance testing. Shows achievement gaps between groups (e.g., White vs Black, Male vs Female, eligible vs not eligible for free lunch).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoYear: '2022'. Default: most recent
gradeYesGrade: 4, 8, or 12. Math: 4,8 only. Economics/TEL/Music: 8 or 12 only.
subjectYesSubject: 'reading', 'math', 'science', 'writing', 'civics', 'history', 'geography', 'economics', 'tel', 'music'. Aliases accepted.
variableYes'SDRACE' (race gap), 'GENDER' (gender gap), 'SLUNCH3' (poverty gap), 'IEP' (disability gap), 'LEP' (ELL gap)
jurisdictionNo'NP' (default), or state codes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2026.4.11
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2026.3.9

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the description's addition of 'significance testing' and 'achievement gaps' provides valuable behavioral context beyond annotations. It does not discuss rate limits or auth, but these are not critical for a read-only tool.

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?

Two sentences with no filler. The purpose is front-loaded, and the examples are concise and directly relevant. Every word contributes to understanding the tool's function.

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?

The description conveys the core functionality and output concept (achievement gaps) but does not specify the exact return structure or fields. Given no output schema, a bit more detail on the output could be helpful, but the tool is straightforward and the description is adequate for an agent to call it correctly.

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%, so all parameters are documented in the schema. The description adds examples like 'White vs Black' and 'Male vs Female', which clarify the meaning of the 'variable' parameter, but this is marginal since the schema already lists the allowed values with descriptions. Baseline of 3 applies.

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 states the tool compares NAEP scores across demographic groups with significance testing, and gives concrete examples of gaps. It distinguishes itself from sibling tools like naep_compare_years and naep_compare_states by focusing on demographic comparisons.

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?

The description implies when to use this tool (for comparing groups) but does not explicitly mention alternatives or when not to use it. It lacks exclusions or guidance on choosing between this and other NAEP comparison tools, so an agent must infer usage from the name and context.

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