Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_consensus

Retrieve consensus target price, brokerage opinion, and earnings estimates for a stock using its 6-digit code.

Instructions

컨센서스 — 증권사 투자의견, 목표주가, 실적 추정치 (매출액/영업이익 컨센서스).

"목표가 얼마야", "컨센서스", "증권사 의견", "적정가", "실적 전망" 같은 질문에 사용합니다.

Args: code: 종목코드 6자리 (예: "005930")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as read-only status, authorization needs, rate limits, or potential side effects. This is a gap for a data retrieval tool.

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 brief and includes both a high-level summary and a parameter explanation. It is front-loaded with the key purpose. However, it switches between Korean and English, which might slightly hinder clarity.

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?

The description mentions the types of data returned (investment opinion, target price, earnings estimates) but does not detail the output structure. However, since an output schema exists, the description is reasonably complete for this tool's complexity.

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?

The schema has 0% description coverage, but the description explains the single parameter 'code' as a 6-digit stock code with an example ('005930'). This adds full semantic meaning beyond the schema's type-only specification.

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 tool provides consensus data: securities firm investment opinions, target prices, and earnings estimates. It gives specific examples of queries it answers, distinguishing it from siblings like get_price or get_reports.

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 provides example queries such as '목표가 얼마야' and '컨센서스', which indicate when to use the tool. However, it does not explicitly mention when not to use it or list alternatives.

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