Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_event_reaction

Sort stock price, volume, and supply-demand reactions around an event date to analyze market response to disclosures or earnings.

Instructions

이벤트반응 — 특정 날짜(event_date) 기준 전후 주가·거래량·수급 반응을 정렬합니다.

DartLens의 scan_earnings_season·list_disclosures에 나온 공시 접수일을 event_date로 넘김 (휴장일이면 다음 거래일 기준). "공시→주가/수급" 또는 "주가/수급 이상→해당 기간 공시 확인" 시간축 정렬용 — 원인 단정·매수/매도 판단 아님.

Args: code: 종목코드 6자리 (예: "005930") event_date: 기준 날짜 YYYY-MM-DD 또는 YYYYMMDD. DartLens 공시 접수일 권장 before: event_date 전 비교 거래일 수 (기본 5, 최대 60) after: event_date 후 비교 거래일 수 (기본 20, 최대 60)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
event_dateYes
beforeNo
afterNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses date handling (shifts to next trading day) and states it does not assert causation or trading signals. However, it does not mention whether the tool is read-only, required permissions, or any side effects. This is a moderate disclosure.

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?

The description is well-structured with a summary line, usage context, and a bulleted parameter list. It is slightly verbose but each sentence adds value. It could be more concise, but the structure aids readability.

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?

For the input side, the description is comprehensive: it covers all parameters, defaults, and usage context. Since an output schema exists (not provided), the lack of output description is acceptable. The description adequately explains the tool's purpose and limitations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description provides detailed explanations for all four parameters: code (6-digit stock code), event_date (format YYYY-MM-DD or YYYYMMDD, recommended from DartLens), before (default 5, max 60), and after (default 20, max 60). This fully compensates for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool aligns price, volume, and flow reactions around a specific event date. It specifies the verb '정렬합니다' (sorts/aligns) and the resource (event reaction). It distinguishes from sibling tools by referencing DartLens tools for input, but does not explicitly differentiate from similar get_* tools like get_price or get_flow.

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: after obtaining disclosure acceptance dates from DartLens tools. It advises that if event_date is a non-trading day, the next trading day is used. It also cautions that the tool is for time alignment, not for concluding cause or buy/sell decisions. However, it does not provide explicit alternatives among sibling 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/Johnhyeon/stocklens-mcp'

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