Skip to main content
Glama
defog-ai
by defog-ai

record_prediction

Record a pre-earnings forecast with financial metrics and expected close price to enable comparison of AI agent predictions.

Instructions

Record one immutable pre-earnings forecast.

expected_earnings_at must be an ISO 8601 timestamp with a timezone. Revenue, EBITDA, net profit, and free cash flow must use the same reporting currency. post_earnings_close is the expected first regular-session close after release.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
notesNo
tickerYes
harnessYes
currencyNoUSD
fiscal_periodYes
ebitda_millionsYes
revenue_millionsYes
thinking_settingYes
net_profit_millionsYes
post_earnings_closeYes
expected_earnings_atYes
free_cash_flow_millionsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries full disclosure burden. It highlights immutability ('immutable pre-earnings forecast') and format constraints. However, it does not mention idempotency, error behavior, side effects, or rate limits. Sufficient but not exhaustive.

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 three sentences, front-loaded with the core purpose. Every sentence adds necessary constraints or definitions. No wasted words.

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

Completeness2/5

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

Given 13 parameters, 0% schema description coverage, and an output schema that is not described, the description leaves many gaps. It explains only a subset of parameters and does not cover return values, error conditions, or prerequisite checks for a complex recording 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 0%, so description must compensate. It explains semantics for expected_earnings_at (ISO 8601 with timezone), financial fields (same currency), and post_earnings_close. However, 8 of 13 parameters (e.g., ticker, fiscal_period, harness, model, thinking_setting, notes, currency) remain unexplained. Adds value for some but not all.

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 clearly states 'Record one immutable pre-earnings forecast.' This is a specific verb (record) and resource (immutable pre-earnings forecast). It distinguishes from siblings 'get_results' (reads) and 'record_actuals' (records actuals), so an AI agent can tell when to use this tool.

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 provides explicit constraints: ISO 8601 timestamp with timezone, same reporting currency for financial fields, and definition of post_earnings_close. It implies use for pre-earnings forecasts but does not explicitly state when not to use or compare to siblings. Still clear context.

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/defog-ai/analysis-gym'

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