Skip to main content
Glama

get_series

Retrieves weekly surveillance values for a selected measure, pathogen, and region, with a reliability flag for every week within optional start and end date bounds.

Instructions

Weekly values of one measure, latest published versions, with a reliability flag for every week.

start and end bound the weeks returned (inclusive).

Input Schema

NameRequiredDescriptionDefault
endNoWeek ending date (Saturday), YYYY-MM-DD.
startNoWeek ending date (Saturday), YYYY-MM-DD.
stateYesTwo-letter postal code, e.g. "SC" or "DC".
measureYesMeasure name from describe_measures, e.g. "hospital_admission_count".
pathogenYescombined is ED visits only; not_applicable is ED participation_status only.
max_weeksNoKeep at most this many of the most recent weeks.
region_idNoHSA code or wastewater site ID (e.g. ID:113) from describe_state; required unless region_type is state.
region_typeNostate; sub_state_hsa for an ED region; sampling_site for a wastewater site.state

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Without annotations, the description carries the behavioral burden and does disclose key traits: weekly cadence, latest published versions only, reliability flag per week, and inclusive start/end bounds. However, it omits other behavior such as default max_weeks, region requirements, and error conditions.

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 very short and front-loads what the tool returns before adding the date-bound detail. Every sentence serves a purpose and there is no redundant filler.

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

Completeness3/5

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

With a rich input schema and an output schema, the description does not need to explain every parameter or return field. Still, for a tool with revisions/as-of siblings and complex region options, it is somewhat thin on usage context and behavioral edge cases.

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%, so the schema already documents all eight parameters in detail. The description adds a small amount of semantics by saying start and end bound weeks inclusively, but otherwise defers to the schema.

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?

The description clearly states the resource: weekly values for one measure, with latest published versions and a reliability flag. It implies a contrast with revision/as-of tools but does not explicitly name them, so sibling differentiation is only partial.

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

Usage Guidelines2/5

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

It does not state when to use this tool versus get_revisions, get_as_of, or check_reliability. The phrase 'latest published versions' hints at the use case, but there is no explicit guidance or exclusions.

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