Skip to main content
Glama

get_forecast

Read-onlyIdempotent

Fetch one forecast configuration by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forecast_idYesUUID of the forecast to fetch.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
web_urlYes
is_activeNo
source_idNo
transformNoauto / none / log
created_atNo
updated_atNo
aggregationNoauto / sum / mean / last / max
descriptionNo
granularityNoOne of: hourly, daily, weekly, monthly, quarterly, annual.
metric_pathYes
next_run_atNo
source_typeYesOne of: report, dashboard, goal, data_source.
horizon_daysYes
metric_labelNo
non_negativeNo
latest_run_idNo
method_overrideNo
include_anomaliesNo
latest_run_statusNopending, running, completed, failed, refunded.
narration_enabledNo
non_negative_autoNo
schedule_frequencyNodaily, weekly, monthly, or manual.
include_changepointsNo
include_correlationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, which covers basic safety. However, the description adds no further behavioral context, such as what happens for an invalid ID, error responses, or rate limits. It essentially restates the tool name without additional detail.

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 concise sentence of six words: 'Fetch one forecast configuration by ID.' Every word is meaningful with no redundant filler, making it efficient and well-structured.

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?

For a simple get-by-ID tool, the description is adequate given the presence of an output schema and annotations. It clarifies that 'configuration' is fetched, distinguishing from get_forecast_run. It does not mention edge cases but they are not expected for such a minimal tool.

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% with the parameter forecast_id fully described as 'UUID of the forecast to fetch.' The description does not add extra meaning beyond the schema, so it meets the baseline but does not exceed it.

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 specific verb 'Fetch' with the resource 'forecast configuration' and scope 'by ID', clearly distinguishing it from sibling tools like get_forecast_run (which fetches a run) and list_forecasts (which lists configurations). This is exactly what a tool description should do.

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

Usage Guidelines3/5

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

The description implies the tool is used when you have a specific forecast ID and need its configuration, but it does not explicitly state alternatives or exclusions. No guidance is given for when to use this versus list_forecasts or get_forecast_run, though the name makes it reasonably clear.

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