Skip to main content
Glama

BackPR youth program data

Get state rules

get_state_rules
Read-onlyIdempotent

Look up one US state's rules for youth programs, summarized by BackPR from official state sources and published copies of state law: childcare licensing, staff-to-child ratios, summer camp licensing, background checks, mandated reporting of child abuse and giving medication. Use it when someone asks what a state requires of a childcare center, camp or after-school program. Returns the section(s) asked for, the date BackPR checked them, the backpr.com section URL, source links and any facts BackPR couldn't confirm. General information, not legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYesUS state name or 2-letter code, case-insensitive, such as "Texas" or "TX". "DC" and "District of Columbia" also work.
topicNoWhich rules to return: "licensing" (who must be licensed, exemptions), "ratios" (staff-to-child ratios and group sizes), "camps" (camp licensing), "background_checks", "mandated_reporting" (who must report child abuse, hotline), "medication" or "all" (default).all

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYes
stateYes
topicYes
checkedYesWhen BackPR last checked these rules against their sources
cite_asYes
sectionsYesOnly the sections asked for
source_urlYesThe backpr.com page or section for this answer
state_codeYes
unverifiedYesPoints BackPR couldn't fully confirm for this state that may bear on the topic asked about
official_sourcesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, so the description is free to add higher-value context — and it does: freshness ('the date BackPR checked them'), provenance (source links, published copies of state law), completeness caveats ('facts BackPR couldn't confirm'), and a scope disclaimer. That is materially more than the annotations provide.

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-loads the core action and purpose in the first sentence, then adds when-to-use and the disclaimer. The opening sentence is long and comma-heavy with the topic list, but every sentence carries information that isn't restated elsewhere.

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?

An output schema exists so return-shape detail is optional, yet the description still sketches the return (sections, checked date, URL, source links, unconfirmed facts). Combined with annotation-covered safety, an agent has what it needs; the only real gap is distinguishing this from sibling tools like list_states_by_rule.

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% and the topic enum is fully documented in the schema, including all seven values. The description's list of rule areas mirrors the enum rather than adding new meaning (no syntax, aliasing, or default nuance beyond what the schema says). Baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Look up one US state's rules for youth programs') and enumerates the covered rule domains, so the agent knows exactly what comes back. The 'one US state' framing implicitly separates it from the sibling list_states_by_rule, but no sibling is named explicitly, so a 4 rather than 5.

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?

Gives a clear triggering scenario: 'Use it when someone asks what a state requires of a childcare center, camp or after-school program.' It also implicitly excludes legal-advice use via 'General information, not legal advice.' No named alternatives or explicit when-not beyond that, so not a 5.

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.

Resources