Skip to main content
Glama
romaco-labs

@romaco/mcp

Official
by romaco-labs

romaco_load_candles

Load OHLCV candle data from Yahoo Finance or a raw array. The data persists in the session for use by subsequent market analysis tools.

Instructions

Load OHLCV candle data from a data source. Once loaded, the data persists in the MCP session and is used by all subsequent analysis tools (analyze_market, find_levels, detect_patterns). Default source is "yfinance" (free, no auth). Use "raw" to pass your own candle array.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYes"yfinance" = Yahoo Finance (free, no API key needed, OHLCV for stocks/ETFs/crypto/FX). "raw" = pass your own candle array via rawCandles.
symbolYesTicker symbol (e.g., "AAPL", "TSLA", "BTC-USD", "EURUSD=X"). For raw source, this is just a label.
lookbackNoNumber of recent candles to fetch (default 500, max 5000).
timeframeYesCandle interval. Intraday: 1m, 2m, 5m, 15m, 30m, 1h, 2h, 4h. Daily+: 1d, 5d, 1w, 1mo, 3mo.
rawCandlesNoOnly used when source="raw". Array of {timestamp, open, high, low, close, volume}.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that data persists across the session, and that the default source is free with no auth required. This goes beyond schema information. However, it does not mention whether reloading overwrites existing data or any rate limits.

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 two sentences plus a note, all front-loaded with the main function. Every sentence adds value, and there is no redundancy or unnecessary information.

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?

Considering the 5 parameters with full schema descriptions, no output schema, and sibling tools focused on analysis/charting, the description adequately explains the tool's role, persistence behavior, and source options. It could mention confirmation behavior on success, but it is sufficiently complete.

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% (all parameters have descriptions). The tool description does not add additional meaning beyond what the schema provides for parameters. The description's mention of source options is valuable but does not specifically enhance parameter semantics beyond baseline.

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 verb 'load', the resource 'OHLCV candle data', and the effect 'persists in the MCP session'. It distinguishes this tool from siblings, which are analysis or chart manipulation tools.

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 explains when to use each source ('yfinance' vs 'raw'), notes that default source is free and requires no authentication, and indicates that data persists for subsequent analysis. It does not explicitly say when not to use the tool, but the context is clear enough.

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/romaco-labs/romaco-mcp'

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