Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_flow

Retrieve institutional and foreign investor net buying data for a stock code over a specified period. Analyze daily trading flows to understand who is buying.

Instructions

투자자수급 — 투자자별 매매동향 (기관/외국인 순매매 주식 수)을 가져옵니다. 네이버 증권 소스 특성상 개인 순매매는 제공되지 않습니다 (기관·외국인만). "외국인 수급", "기관 순매수", "수급 분석", "누가 사고 있어" 같은 질문에 사용합니다.

Args: code: 종목코드 6자리 (예: "005930") days: 조회할 일수 (기본 20일)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations exist, so description bears full responsibility. It discloses the data source (네이버 증권) and missing data (개인 순매매). Additional details like update frequency or rate limits would improve transparency, but current disclosure is adequate.

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?

Efficient structure: a one-line purpose, a note on limitation, example queries, and a clear 'Args' section. Every sentence adds value without redundancy.

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 the presence of an output schema (context signals), description appropriately focuses on input and limitations. It explains what data is retrieved and important exclusions. Could mention potential date range or pagination constraints, but overall sufficient.

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 fully explains both parameters: 'code' as 6-digit stock code with example, and 'days' as number of query days with default. This adds essential meaning 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?

Description clearly states it retrieves investor-specific trading trends (institutional/foreign net trading stock count) using the verb '가져옵니다'. It explicitly mentions what is not provided (개인 순매매), distinguishing from potential related 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?

Provides explicit example queries for when to use ('외국인 수급', '기관 순매수', etc.) and notes the limitation that individual net trading is not available. However, it does not mention alternative tools for cases it does not cover.

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