Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_event_reaction

Analyze stock price, volume, and supply-demand response around a given event date. Returns validation status when data is insufficient for analysis.

Instructions

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

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

분석 불가한 사건창(보유 데이터 구간 밖·전 구간 거래정지·수급 결측)은 숫자를 만들지 않고 validation 상태와 코드로 되돌린다. 데이터 없음은 0%·순매매 0으로 표기되지 않는다.

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
afterNo
beforeNo
event_dateYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses edge-case behavior: unanalyzable windows return a validation status/code, missing data is not shown as 0% or zero net trading, and non-trading days shift to the next trading day. This goes beyond a simple operation summary.

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 organized into purpose, usage context, behavioral caveats, and parameter details. Every sentence carries operational value, and the final Args block is compact and consistent with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given four parameters, no annotations, and no schema descriptions, the description covers purpose, usage, edge cases, and parameter semantics thoroughly. An output schema exists, so return-value details are not required.

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 description coverage is 0%, but the description compensates fully: it explains code format with an example, accepted event_date formats, and before/after defaults and maximums. This adds meaning the schema lacks.

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 opens with a specific action: sorting price/volume/flow reactions before and after a given event_date. It clearly names the resource (event reactions) and scope (time-axis alignment around disclosures), and differentiates itself by stating it is for temporal alignment, not causal or buy/sell judgment.

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?

It explicitly says to pass disclosure receipt dates from DartLens scan_earnings_season/list_disclosures and notes holiday handling. It also states when not to use it ('원인 단정·매수/매도 판단 아님'), but it does not name alternative sibling tools, so it falls just short of a 5.

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