Skip to main content
Glama

TickDB Market Data

get_segments_history

Get historical business or regional revenue segments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoProduct type for disambiguation; currently only 'stock'
limitNoMaximum rows, from 1 to 1000; upstream default 200
reportNoUpstream report period, e.g. qf, saf, or af
symbolYesStock symbol, with or without market suffix. E.g. 'AAPL', '700', '600519', 'AAPL.US', '700.HK', or '600519.SH'
categoryNoSegment category: business or regional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it delivers almost nothing: no statement about read-only nature, no pagination behavior despite a limit parameter, no auth requirements, and no indication of what the response contains. For a data-fetch tool with zero annotation coverage this is a significant gap.

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?

A single front-loaded sentence with no wasted words. However, its brevity reflects under-specification rather than tight economy, and it arguably leaves too much unsaid for a five-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Five parameters, no output schema, and no annotations mean the description should carry more weight than one sentence. It never explains what a segment record looks like, how 'report' periods map to results, or how results are ordered or limited.

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 schema already documents symbol, type, limit, report, and category fully. The description adds no syntax, format, or defaulting information beyond what the schema provides; baseline 3 applies.

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 ('Get') and resource ('historical business or regional revenue segments'), and the word 'historical' implicitly contrasts with the sibling get_segments_latest. It stops short of explicitly naming that sibling, so an agent must infer the distinction.

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?

Usage is only implied by the word 'historical' and the presence of get_segments_latest among siblings. There is no explicit when-to-use guidance, no mention of prerequisites, and no stated exclusion.

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.