Skip to main content
Glama

get_series_categories

Read-onlyIdempotent

Retrieve categories that a FRED series is assigned to by providing its series ID. See the series' position in the FRED category tree.

Instructions

List the categories a FRED series belongs to (the reverse of get_category_series): given a series id, where it sits in the category tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
series_idYesThe FRED series id, e.g. `GNPCA` or `UNRATE`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesThe number of categories returned.
categoriesYesThe categories the series belongs to.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds value beyond annotations by clarifying the tool is a reverse lookup and providing hierarchical context ('where it sits in the category tree'). No contradictions or omissions. Slight deduction because it could mention the output structure explicitly, but output schema reduces need.

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 a single, well-structured sentence. It starts with the action verb, includes the core purpose, and adds context efficiently. No unnecessary words.

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 tool has a single parameter, full annotations, an output schema, and a clear description that distinguishes it from siblings, the description is complete. It provides all needed context for an agent to select and invoke 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% and the input schema provides a detailed description for series_id with examples. The tool description does not add extra parameter information, but that is acceptable since the schema fully covers it. Baseline of 3 is appropriate.

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 uses the verb 'List' and explicitly states the action: 'list the categories a FRED series belongs to'. It also provides context by noting it's the reverse of get_category_series, clearly differentiating it from siblings. The purpose is specific and unambiguous.

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?

The description gives clear usage context by naming the alternative tool (get_category_series) and explaining the reverse relationship. This helps the agent choose between them. However, it does not explicitly state when not to use this tool or provide exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ojhermann-org/ferric-fred'

If you have feedback or need assistance with the MCP directory API, please join our Discord server