Skip to main content
Glama

get_price_index_history

Call this for the canonical DATED index SERIES (to chart or analyse movement) of the AEPI — the same chained like-for-like series the /aepi page plots. Every point is an index level (base 100), never a price. Returns the whole-economy headline series, or a single buyer tier's series when tier is set. provider_type returns the standalone 'agent' / 'mcp' series (own base 100). period selects '30d' (default), '90d' or 'all'. response_mode 'summary' (default) returns date + index_level points plus the window change; 'full' adds gap flags. Returns an honest status (insufficient_history) rather than a fabricated series when data is too thin. (Also accepts a benchmark_id to read a private custom benchmark's history.) The economy index is whole-market by design — for pricing on a specific capability use market_report or price_benchmark.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierNoReturn one buyer tier's series ('team' = Team/SME). Default 'all' = the headline series.
periodNoHistory window. Default '30d'.
benchmark_idNoOptional: a private custom benchmark token (cb_…) — returns that cohort's dated series instead of the economy series. Cannot be combined with niche.
provider_typeNo'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' / 'subscription' / 'hybrid' / 'one_off' / 'payg' = the billing-LENS series (they cut across provider/mcp; a rate sits in one delivery type AND one lens; own base 100) — 'payg' (pay-as-you-go, engine v2) series (own base 100).
response_modeNo'summary' (default, compact) or 'full'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / provider_type / description
      Previous value: -"'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' / 'payg' (pay-as-you-go, engine v2) series (own base 100)."New value: +"'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' / 'subscription' / 'hybrid' / 'one_off' / 'payg' = the billing-LENS series (they cut across provider/mcp; a rate sits in one delivery type AND one lens; own base 100) — 'payg' (pay-as-you-go, engine v2) series (own base 100)."
    • changedInput schema / properties / provider_type / enum
      Previous value: -[
      -  "all",
      -  "agent",
      -  "mcp",
      -  "payg"
      -]New value: +[
      +  "all",
      +  "agent",
      +  "mcp",
      +  "subscription",
      +  "hybrid",
      +  "one_off",
      +  "payg"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / provider_type / description
      Previous value: -"'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' series (own base 100)."New value: +"'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' / 'payg' (pay-as-you-go, engine v2) series (own base 100)."
    • changedInput schema / properties / provider_type / enum
      Previous value: -[
      -  "all",
      -  "agent",
      -  "mcp"
      -]New value: +[
      +  "all",
      +  "agent",
      +  "mcp",
      +  "payg"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / benchmark_id
      Added value: +{
      +  "description": "Optional: a private custom benchmark token (cb_…) — returns that cohort's dated series instead of the economy series. Cannot be combined with niche.",
      +  "type": "string"
      +}
    • changedInput schema / properties / provider_type / enum
      Previous value: -[
      -  "all",
      -  "provider",
      -  "mcp"
      -]New value: +[
      +  "all",
      +  "agent",
      +  "mcp"
      +]
  4. Changed4 schema fields changed
    • removedInput schema / properties / niche
      Removed value: -{
      -  "description": "For scope 'niche': a canonical niche slug or natural-language query.",
      -  "type": "string"
      -}
    • changedInput schema / properties / provider_type / description
      Previous value: -"Delivery-type scope for scope 'aepi': 'all' (default), or the standalone 'agent' / 'mcp' series (own base 100). Per-type niche history is a Phase-2 follow-up; acknowledged, not silently applied, on scope 'niche'."New value: +"'all' (default) = the combined whole-economy series, or the standalone 'agent' / 'mcp' series (own base 100)."
    • removedInput schema / properties / scope
      Removed value: -{
      -  "description": "'aepi' (default) or 'niche'.",
      -  "enum": [
      -    "aepi",
      -    "niche"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / tier / description
      Previous value: -"For scope 'aepi', return one buyer tier's series ('team' = Team/SME). Default 'all' = the headline series."New value: +"Return one buyer tier's series ('team' = Team/SME). Default 'all' = the headline series."
  5. Changed1 schema field changed
    • changedInput schema / properties / provider_type / enum
      Previous value: -[
      -  "all",
      -  "agent",
      -  "mcp"
      -]New value: +[
      +  "all",
      +  "provider",
      +  "mcp"
      +]
  6. Changed1 schema field changed
    • addedInput schema / properties / provider_type
      Added value: +{
      +  "description": "Delivery-type scope for scope 'aepi': 'all' (default), or the standalone 'agent' / 'mcp' series (own base 100). Per-type niche history is a Phase-2 follow-up; acknowledged, not silently applied, on scope 'niche'.",
      +  "enum": [
      +    "all",
      +    "agent",
      +    "mcp"
      +  ],
      +  "type": "string"
      +}
  7. Added

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses that points are index levels, never prices; that response_mode 'summary' returns date + index_level points plus window change and 'full' adds gap flags; and that an honest 'insufficient_history' status is returned rather than a fabricated series. These are substantial behavioral traits beyond the schema.

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?

The description is dense and front-loaded with the core purpose, followed by critical disclaimers (base 100, not price). Each clause adds value, but some statements echo schema info, such as the period enum values and benchmark_id acceptance. Overall it is efficient, but slightly longer than strictly necessary.

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

Completeness5/5

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

Given no output schema and no annotations, the description is remarkably complete: it explains parameter behavior, response modes, error handling, alternatives, and scope limitations. It covers everything an agent needs to decide when to call this tool and how to interpret its results. Minor omissions like authentication are likely handled at the framework level.

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 100%, so the baseline is 3. The description adds meaningful conceptual clarity beyond the schema: it explains the 'same chained like-for-like series', the distinction between tier (buyer tier) and provider_type (billing-lens series with own base 100), and that provider_type series 'cut across provider/mcp'. This goes beyond the schema's dry enum descriptions, though some details (e.g., benchmark_id) are redundant with the schema.

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?

The description opens with a specific verb and resource: 'the canonical DATED index SERIES ... of the AEPI'. It explicitly states every point is an index level (base 100), never a price, and contrasts itself with the whole-market economy series versus specific-capability tools. This clearly distinguishes it from siblings like get_price_index (point-in-time) and market_report/price_benchmark.

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

Usage Guidelines5/5

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

It gives explicit usage context: 'Call this for the canonical DATED index SERIES (to chart or analyse movement)'. It also provides direct alternatives and exclusions: 'The economy index is whole-market by design — for pricing on a specific capability use market_report or price_benchmark.' Additionally, it explains when to use benchmark_id for a private custom benchmark's history.

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.

Resources