Skip to main content
Glama
InvestBrain

InvestBrain

market_get_stock_quote

Fetch real-time stock quotes by ticker to view current price, percentage change, and volume for informed investment decisions.

Instructions

Get real-time quote for a stock ticker.

Args:
    ticker: Stock ticker symbol (e.g., "600519", "sh600519", "贵州茅台")

Returns:
    dict: Current price, change %, volume

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "market_get_stock_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the return shape (current price, change %, volume), which substitutes for the absent output schema, but says nothing about data freshness, source, rate limits, or market coverage.

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?

Front-loads the purpose in one clear sentence, then uses compact Args/Returns sections. The boilerplate scaffolding is slightly verbose but every line carries information and nothing is padded.

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 a single-parameter read tool with no output schema and no annotations, the description covers the essential purpose, input format, and return fields. Remaining gaps (data source, latency, exchange coverage) are minor for this simple operation.

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

Parameters4/5

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

Schema description coverage is 0% and the schema only names the param 'Ticker', so the description's examples ('600519', 'sh600519', '贵州茅台') add real value by revealing accepted format variants including a prefixed code and a Chinese name, which would otherwise be ambiguous.

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?

States a specific verb+resource: 'Get real-time quote for a stock ticker.' This separates it from market_get_stock_history, but it does not differentiate from the very similar sibling tushare_get_realtime_quote, leaving the agent to guess which realtime source to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance, and no alternative named despite multiple overlapping siblings (tushare_get_realtime_quote, market_get_stock_history). 'Real-time' implicitly contrasts with historical data but nothing is stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools