Skip to main content
Glama

compute_indicator

Run a single indicator on a price series to verify its behavior before using it in a strategy. Returns the computed output for validation.

Instructions

Run a single FLOX indicator over a list of floats and return the output. Use this to sanity-check an indicator's behaviour on a small price array BEFORE wiring it into a strategy — especially when the indicator has window / period / smoothing parameters whose effect isn't obvious from the name. Input is capped at 1 MiB. Requires the optional flox-py dependency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesIndicator name in flox_py — case either matches the class (`EMA`, `RSI`, `Bollinger`) or the function (`ema`, `rsi`, `vwap`).
dataYesInput series (e.g. close prices). Up to 125k samples.
Behavior4/5

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

Discloses important constraints (1 MiB cap, flox-py dependency) and implies a read-only compute operation, but does not explicitly state whether it has side effects or error behavior. With no annotations provided, the description bears the full burden.

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?

Four sentences, each adding value: purpose, usage guideline, input cap, dependency. No fluff, well front-loaded.

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?

Given no output schema and simple params, the description covers when to use, constraints, and dependency. However, it omits the return format, which could help an agent interpret results.

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 already describes both parameters (name, data) in detail. The description adds context about extra parameters (window/period/smoothing) but does not enhance semantics of the required params 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?

The description clearly states the tool runs a single FLOX indicator over a list of floats and returns output, distinguishing it from sibling tools like list_indicators and suggest_indicator.

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?

Explicitly advises using it for sanity-checking indicator behavior on small arrays before strategy integration, especially for indicators with non-obvious parameters. Also notes input cap and optional dependency.

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/FLOX-Foundation/flox'

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