Skip to main content
Glama

get_market_stats

Danish new-vehicle registration statistics from bildata.io (weekly DMR data). Dimensions: fuel_type, brands (top 20), evs, imports (vehicles brought in from abroad, by toldsyn date: counts, share, top makes), monthly_totals (last 12 months incl. leasing series), country_of_origin. kind=all covers every vehicle type; kind=Personbil passenger cars only. as_of is the data cutoff of the underlying extract — a month whose as_of is before month-end is PARTIAL. Market-level ONLY: the brands dimension is the top 20 brands and there is no per-model breakdown here — for a named MODEL use get_model_stats. It is NOT a way to get a brand total for a brand outside the top 20: a brand-only query there returns that brand's individual model rows (default 5, max 10, truncation disclosed in note) and defaults to kind=Personbil where this tool defaults to kind=all, so summing them does not reproduce a brand total from here.

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": {
      "dimension": "<dimension>"
    },
    "name": "get_market_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoDefault: all
dimensionYesWhich slice to return; exactly one per call

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / properties / dimension / description
      Added value: +"Which slice to return; exactly one per call"
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and mostly does: it reveals the as_of cutoff semantics and that a month whose as_of precedes month-end is PARTIAL, and it discloses the top-20 truncation of the brands dimension. It stops short of describing anything about volume of returned rows beyond the monthly_totals 12-month window or any caching/rate behavior.

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 scoping and dimension catalog are front-loaded and every clause carries information. However, the closing sentence is a long run-on that mixes two distinct points (the sibling's default 5/max 10 truncation and its kind=Personbil default), making it harder to parse than needed.

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 pre-describes what each dimension contains and flags partial-month data, which is what an agent needs to interpret results. It does not state result shape, units, or whether the caller can constrain the time window for non-monthly dimensions, leaving a modest gap.

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% and the enums already document valid values, but the description adds genuine meaning: it explains what each dimension returns (imports by toldsyn date with counts/share/top makes, monthly_totals covering the last 12 months including leasing) and interprets kind values rather than repeating them. This exceeds the baseline-3 case for a fully documented 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 ("Danish new-vehicle registration statistics from bildata.io") and enumerates the six selectable dimensions. It also explicitly declares what the tool is not (no per-model breakdown) and names the sibling get_model_stats for that case, so an agent can separate it from alternatives without opening the schema.

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 positive scope (market-level aggregates, top-20 brands only) and explicit negative scope ("NOT a way to get a brand total for a brand outside the top 20"), then explains why via truncation defaults and the kind=Personbil vs kind=all mismatch. The routing rule to get_model_stats for named models is stated directly.

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