Skip to main content
Glama

get_active_sessions

List legislative sessions currently flagged active, optionally filtered by jurisdiction (two-letter state code or name).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jurisdictionNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It states the operation is a read (list) and mentions filtering, but does not disclose output format, field details, or any side effects. Adequate for a simple list but leaves uncertainty.

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?

Single sentence of 15 words, front-loads the verb, no filler. Every word earns its place.

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?

No output schema, so description should hint at return fields. It describes input and purpose but omits output structure (e.g., session names, dates). Partially complete for a simple list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% coverage, but description adds meaning to the only parameter 'jurisdiction' by specifying accepted values: 'two-letter state code or name.' This compensates for the sparse schema.

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?

Description specifies verb 'List' and resource 'legislative sessions currently flagged active', clearly distinguishing it from sibling tools like get_jurisdiction_coverage (list jurisdictions) or get_bill_record (single bill).

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?

Implies usage context: retrieving active sessions with optional jurisdiction filter. No explicit when-not or alternative guidance, but the tool is unique among siblings, so context is clear enough.

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.