Skip to main content
Glama
danchev

openmarkets

by danchev

get_volatility_metrics

Get volatility metrics for a stock ticker over a specified time period. Use this data to assess market risk and price fluctuations.

Instructions

Retrieve volatility metrics for a given ticker and period.

Args: ticker (str): The symbol of the security. period (str, optional): Time period for metrics (e.g., '1y'). Defaults to '1y'.

Returns: VolatilityMetricsDict: Volatility metrics data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
periodNo1y

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daily_volatilityNo
annualized_volatilityNo
max_daily_gain_percentNo
max_daily_loss_percentNo
positive_daysNo
negative_daysNo
total_trading_daysNo
positive_days_percentageNo
Behavior2/5

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

No annotations provided, so description carries full burden. It only states 'Retrieve' implying a read operation but fails to disclose any behavioral traits such as authentication needs, rate limits, or data sources. Minimal transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is concise with two sentences for purpose, then structured Args and Returns. No unnecessary words. Slightly wordy but overall efficient.

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?

While output schema exists, the description could hint at specific metrics (e.g., beta, volatility). It just says 'Volatility metrics data', which is vague but acceptable given the tool name.

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 only titles with no descriptions. The tool description adds meaningful parameter explanations: ticker as 'symbol' and period with example '1y' and default. This adds value beyond the 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 clearly states verb 'Retrieve' and resource 'volatility metrics' with a specific scope 'for a given ticker and period'. This distinguishes it from sibling tools like get_risk_metrics or get_financial_summary, which focus on different data.

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

Usage Guidelines2/5

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

No guidance on when to use this tool over alternatives. Among many get_* siblings, there is no mention of scenarios where volatility metrics are preferred over other metric tools.

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/danchev/openmarkets'

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