Skip to main content
Glama

List subjects

list_subjects
Read-only

The raw subject taxonomy with per-subject bill counts (GET /v1/subjects). Subjects are the fine-grained categories the legislatures themselves assign to bills — narrower and more numerous than the curated topic slugs from list_topics. Use this to find a subject_id to filter search_bills by, or to gauge what a jurisdiction is legislating on. Scope with state and narrow with q.

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive subject-name search.
stateNo2-letter postal code (e.g. FL), DC, or US for Congress.
max_itemsNoCap on rows returned (default 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The description adds behavioral context regarding the nature of the data, explaining that subjects are 'raw' and 'the fine-grained categories the legislatures themselves assign to bills,' which is valuable context beyond the standard API call structure. Annotations already cover safety (readOnlyHint: true), meaning the description is providing high-quality utility context.

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 definition is highly efficient; every clause is necessary, and the logical flow—defining the resource, explaining its context relative to siblings, and then giving usage tips—is optimally structured.

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

Completeness5/5

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

Given the complete schema coverage and the safety annotations provided, the description is maximally complete. It leaves no ambiguity about the purpose, limitations, or proper integration of the returned subject IDs.

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?

Since schema description coverage is 100%, the description does not need to elaborate on the parameters. It adds mild semantic value by contextualizing 'state' (jurisdiction) and 'q' (narrow search) but follows the baseline score for fully documented parameters.

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 explicitly states it provides the 'raw subject taxonomy with per-subject bill counts.' It clearly identifies subjects as fine-grained legislative categories, and effectively distinguishes this tool from 'list_topics' which uses 'curated topic slugs'.

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?

It gives explicit guidance on both when and how to use the tool, advising agents to use it to 'find a subject_id to filter search_bills by' and to 'gauge what a jurisdiction is legislating on.' It also instructs on parameter use: scope with 'state' and narrow with 'q'.

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