Skip to main content
Glama
Hub-Equity

hub-equity-mcp

Official
by Hub-Equity

get_metric_history

Read-onlyIdempotent

Retrieve multi-year annual time series for a single financial metric, including YoY growth and CAGR, to analyze revenue, income, or operating cash flow trends.

Instructions

N-year time series for one metric (annual values only), with YoY growth (null across a missing year) and CAGR computed.

Use for trend / growth questions: 'evolution of revenue over 5 years', 'CAGR du CF operating', 'Microsoft net income trend'.

Input Schema

NameRequiredDescriptionDefault
n_yearsNo
entity_idYes
hub_concept_codeYes
fiscal_period_typeNoFY

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real behavioral context the annotations lack: annual granularity only, and that YoY is null across a missing year—a non-obvious edge case.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core capability followed by routing examples. No filler.

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?

An output schema exists, so return structure needn't be described; the description still covers the notable return behaviors (annual only, null YoY, CAGR). Only the meaning of the required identifier parameters is left unaddressed.

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

Parameters2/5

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

Schema coverage is 0%, so the description must carry the parameter burden. It only loosely maps to n_years ('N-year') and gestures at fiscal_period_type ('annual values only'), while entity_id and hub_concept_code—both required—are entirely unexplained.

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?

States a specific verb+resource+scope: 'N-year time series for one metric (annual values only)' and names the derived values (YoY growth, CAGR). An agent can distinguish it from get_fact, roll_up_metric, and compare_entities without opening a schema.

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?

Explicitly routes trend/growth questions with three concrete example queries. However, it never names an alternative sibling (e.g., get_fact for a single period) or states when NOT to use it.

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