Skip to main content
Glama
ryum91

tossinvest-mcp

by ryum91

get_ema

Compute exponential moving average (EMA) for a stock from candle data. Returns time series with configurable interval, period, and price field.

Instructions

종목의 지수이동평균(EMA)을 계산합니다. 캔들 데이터를 기반으로 지정한 봉 단위·기간·계산 기준으로 EMA 시계열을 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodYesEMA 기간 (예: 5, 10, 20, 60, 120, 200)
symbolYes종목 심볼 (예: 005930, AAPL)
intervalYes봉 단위: 1m(1분), 5m(5분), 30m(30분), 60m(60분/1시간), 1d(일봉), 1w(주봉), 1mo(월봉)
price_fieldNo계산 기준가. close(종가, 기본값), open(시가), high(고가), low(저가), hl_avg(고저평균), hlc_avg(고저종평균), ohlc_avg(시고저종평균)
Behavior3/5

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

With no annotations provided, the description carries the full burden. It states it uses candle data and returns a time series, but does not describe the output structure, data range, or any edge cases. For a read-only calculation tool, this is minimal but not misleading.

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, well-structured sentence that front-loads the core function (EMA calculation) and includes key parameters. No unnecessary information.

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?

For a 4-parameter tool with no output schema, the description gives a high-level overview but does not specify the exact return format (e.g., list of values with timestamps) or the number of data points. It is adequate for a simple indicator but lacks completeness for an agent to fully anticipate the output.

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%, so baseline is 3. The description mentions 'bar unit, period, and calculation basis' which loosely corresponds to interval, period, and price_field, but adds no additional detail 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 that the tool calculates the exponential moving average (EMA) of a stock and returns an EMA time series based on candle data. This specific verb and resource distinguish it from other technical indicator tools like RSI or MACD.

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 for computing EMA from candle data but does not explicitly mention when to use it over alternatives (e.g., other indicators) or any exclusions. No reference to specific use cases or when not to use it.

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/ryum91/tossinvest-mcp'

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