Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

Get stock fundamentals

get_stock_fundamentals
Read-onlyIdempotent

Use this when the user asks for a stock's ValuEdge financial history, profitability, growth, balance-sheet evidence, business quality, or data coverage. An optional history_limit requests up to 30 periods of selected metrics, current EPS consensus for at most three future fiscal years where present, quarterly P/E samples from existing monthly observations, and bounded source-native annual income, balance-sheet, and cash-flow statement rows where the existing snapshot contains them. EPS is not normalized and past estimate revisions are unavailable. Selected metric trends remain distinct from the full annual statement JSON. Do not infer a trade instruction.

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": "get_stock_fundamentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes
history_limitNoOptional maximum number of recent annual/quarterly selected-metric rows and annual statement rows (1–30). Omit to preserve the existing compact response. Full annual statement rows retain source fields and currencies; missing source rows/provenance are reported, never filled. Current EPS consensus is capped separately at three future fiscal years; it is not normalized and past revisions are unavailable.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / error / properties / retry_after_ms
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description goes beyond them with substantive data caveats: EPS is not normalized, past estimate revisions are unavailable, missing source rows are reported and never filled, and selected-metric trends are distinct from full annual statement JSON. Those limitations are genuinely decision-relevant, though the phrasing is dense enough that some clauses ('bounded source-native annual ... rows where the existing snapshot contains them') are hard to parse on first read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the usage trigger, which is good, but the middle is one very long run-on sentence stacking four different behaviors of history_limit. There is also duplication of the schema's own caveats (EPS not normalized, revisions unavailable appear in both schema and description), making it longer than necessary.

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?

With an output schema present, the description need not explain return shapes, and it correctly focuses on scope, data limitations, and what the optional parameter changes. A brief note on whether results are point-in-time or snapshot-cached would close the remaining gap, but nothing essential for correct invocation is missing.

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 coverage is 50% (only history_limit is documented in the schema), and the description compensates by explaining what the limit actually governs: up to 30 periods of selected metrics, EPS consensus capped separately at three future fiscal years, quarterly P/E samples derived from monthly observations, and annual statement rows. That is meaningful added semantics beyond the schema text, which only states a row count.

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 names the specific resource domains the tool serves — financial history, profitability, growth, balance-sheet evidence, business quality, data coverage — which clearly separates it from siblings like get_stock_technicals and get_stock_valuation. It never states a plain verb-plus-object summary ('returns fundamentals for a ticker'), relying instead on a conditional use-case opener, so it is clear but slightly indirect.

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 opening conditional ('Use this when the user asks for...') gives an explicit trigger that maps to fundamentals-domain questions rather than price/technicals or valuation. It adds a defensive guardrail ('Do not infer a trade instruction'), but never names an alternative tool or a when-not-to-use condition explicitly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.