Skip to main content
Glama

TickDB Market Data

get_valuation_history

Get historical PE values; no metric selector is supported.

    points contains [RFC3339 time with timezone, value] pairs. Values can be
    strings, numbers or null. No matching data returns error 40405.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoProduct type for disambiguation; currently only 'stock'
symbolYesStock symbol, with or without market suffix. E.g. 'AAPL', '700', '600519', 'AAPL.US', '700.HK', or '600519.SH'
to_dateNoInclusive end date, YYYY-MM-DD; defaults to current UTC date
from_dateNoInclusive start date, YYYY-MM-DD
granularityNodaily (default; past year) or monthly (past five years)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does useful work: it discloses the return shape (points of [RFC3339 time, value] pairs), that values may be string/number/null, and the exact not-found error 40405. It omits auth/permission or rate-limit context, so not a 5.

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?

Brief and front-loaded, with the core purpose stated in the first clause followed by return/error details. Slightly awkward indentation and line breaks, but no wasted sentences.

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 no output schema, the description usefully fills the gap by describing the points structure and error behavior, and the schema covers the date/granularity defaults. Adequate for a 5-parameter read tool, though date-range interaction with granularity could be spelled out more.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3; the schema already documents symbol, type, dates and granularity. The description adds only a marginal note (no metric parameter) rather than new parameter semantics.

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 ('historical PE values') and implicitly distinguishes itself from the sibling get_valuation_latest by stressing history. It does not explicitly name the alternative, so it stops short of a 5.

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

Usage Guidelines3/5

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

Clarifies a constraint ('no metric selector is supported') which preempts a likely wrong expectation, but gives no positive when-to-use guidance or explicit routing to get_valuation_latest. Usage is only implied.

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.