Skip to main content
Glama

Get Reporter Benchmark

get_reporter_benchmark

Every EU reporter ranked by value for one year -- the country-view counterpart of get_reporter_detail. Returns a single-year snapshot (every real EU member state's quantity, value and price per flow, ranked by value) plus a benchmark price time series: the weighted average across whichever reporters query.reporter resolves to (the whole EU by default, or narrower when query.reporter is itself an aggregate -- euro area, a named group, or an ad hoc custom group), the cross-reporter min/max envelope, and the selected reporter's own line when query.reporter is a single real member state. Use it to answer "how does this country -- or reporter group -- compare to every other reporter?".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoYear for the (cross-sectional) snapshot. Defaults to the latest full year with data.
queryYesThe product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default.
compactNoIf true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Year for the cross-sectional snapshot. Defaults to the latest full year with data."New value: +"Year for the (cross-sectional) snapshot. Defaults to the latest full year with data."
  2. Changed10 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "DashboardQuery": {
      -    "description": "Shared request body for every analytical endpoint.\n\nOne product (or a list of products to aggregate), one reporter (or group of\nreporters), a partner set, a period window and a frequency fully describe a\nslice of Eurostat Comext/PRODCOM data. Individual endpoints read extra,\nendpoint-specific options from the query string (e.g. ``entity_level``,\n``flow``, ``partner``) rather than from this body.",
      -    "properties": {
      -      "frequency": {
      -        "default": "quarter",
      -        "description": "Resampling frequency for the series: 'month', 'quarter' or 'year'.",
      -        "title": "Frequency",
      -        "type": "string"
      -      },
      -      "include_other": {
      -        "default": true,
      -        "description": "Bundle entities outside the top-N into a single 'Other' bucket.",
      -        "title": "Include Other",
      -        "type": "boolean"
      -      },
      -      "lang": {
      -        "default": "en",
      -        "description": "Language for translated labels in the response (en, de, fr, es, it, ro).",
      -        "title": "Lang",
      -        "type": "string"
      -      },
      -      "midpoint": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted.",
      -        "title": "Midpoint"
      -      },
      -      "n_top": {
      -        "default": 7,
      -        "description": "Number of top entities (by volume/value) to break out individually in charts.",
      -        "title": "N Top",
      -        "type": "integer"
      -      },
      -      "partner_set": {
      -        "default": "non-EU countries",
      -        "description": "Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group.",
      -        "title": "Partner Set",
      -        "type": "string"
      -      },
      -      "partners": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Explicit partner-country list that overrides 'partner_set' when present.",
      -        "title": "Partners"
      -      },
      -      "period_end": {
      -        "description": "Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported.",
      -        "title": "Period End",
      -        "type": "string"
      -      },
      -      "period_start": {
      -        "default": "2015-01",
      -        "description": "Inclusive start of the analysis window, ISO month 'YYYY-MM'.",
      -        "title": "Period Start",
      -        "type": "string"
      -      },
      -      "prodcom_code": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere.",
      -        "title": "Prodcom Code"
      -      },
      -      "product": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        ],
      -        "description": "Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate.",
      -        "examples": [
      -          "3801",
      -          [
      -            "0901",
      -            "0902"
      -          ],
      -          "TOTAL"
      -        ],
      -        "title": "Product"
      -      },
      -      "remove_outliers": {
      -        "default": true,
      -        "description": "Drop extreme unit-price outliers before computing weighted-average prices.",
      -        "title": "Remove Outliers",
      -        "type": "boolean"
      -      },
      -      "reporter": {
      -        "default": "European Union",
      -        "description": "Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name.",
      -        "title": "Reporter",
      -        "type": "string"
      -      },
      -      "reporter_members": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'.",
      -        "title": "Reporter Members"
      -      }
      -    },
      -    "required": [
      -      "product"
      -    ],
      -    "title": "DashboardQuery",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / compact / title
      Removed value: -"Compact"
    • removedInput schema / properties / query / $ref
      Removed value: -"#/$defs/DashboardQuery"
    • addedInput schema / properties / query / properties
      Added value: +{
      +  "frequency": {
      +    "default": "quarter",
      +    "description": "Resampling frequency for the series: 'month', 'quarter' or 'year'.",
      +    "type": "string"
      +  },
      +  "include_other": {
      +    "default": true,
      +    "description": "Bundle entities outside the top-N into a single 'Other' bucket.",
      +    "type": "boolean"
      +  },
      +  "lang": {
      +    "default": "en",
      +    "description": "Language for translated labels in the response (en, de, fr, es, it, ro).",
      +    "type": "string"
      +  },
      +  "midpoint": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted."
      +  },
      +  "n_top": {
      +    "default": 7,
      +    "description": "Number of top entities (by volume/value) to break out individually in charts.",
      +    "type": "integer"
      +  },
      +  "partner_set": {
      +    "default": "non-EU countries",
      +    "description": "Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group.",
      +    "type": "string"
      +  },
      +  "partners": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Explicit partner-country list that overrides 'partner_set' when present."
      +  },
      +  "period_end": {
      +    "description": "Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported.",
      +    "type": "string"
      +  },
      +  "period_start": {
      +    "default": "2015-01",
      +    "description": "Inclusive start of the analysis window, ISO month 'YYYY-MM'.",
      +    "type": "string"
      +  },
      +  "prodcom_code": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere."
      +  },
      +  "product": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    ],
      +    "description": "Combined Nomenclature customs code(s), 2–8 digits, or the literal 'TOTAL' meta-aggregate (all products combined). Pass a list to aggregate several codes: their volumes are summed and prices volume-weighted across every tab — except the Cross-section views, which keep each code separate.",
      +    "examples": [
      +      "3801",
      +      [
      +        "0901",
      +        "0902"
      +      ],
      +      "TOTAL"
      +    ]
      +  },
      +  "remove_outliers": {
      +    "default": true,
      +    "description": "Drop extreme unit-price outliers before computing weighted-average prices.",
      +    "type": "boolean"
      +  },
      +  "reporter": {
      +    "default": "European Union",
      +    "description": "Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name.",
      +    "type": "string"
      +  },
      +  "reporter_members": {
      +    "anyOf": [
      +      {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "default": null,
      +    "description": "Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'."
      +  }
      +}
    • addedInput schema / properties / query / required
      Added value: +[
      +  "product"
      +]
    • addedInput schema / properties / query / type
      Added value: +"object"
    • removedInput schema / properties / year / title
      Removed value: -"Year"
    • removedInput schema / title
      Removed value: -"get_reporter_benchmarkArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden, and it does real work: it discloses the shape of the output (ranked snapshot plus a benchmark series with weighted average, cross-reporter min/max envelope, and the reporter's own line) and explains that the average is computed over whatever `query.reporter` resolves to. It omits auth/permission requirements and any rate or cost considerations, which is acceptable for a read-only analytical endpoint but leaves a small 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?

Three sentences, front-loaded with the ranking scope, then the return payload, then the use case. Dense but every clause carries information about behavior or routing. The nested parenthetical about aggregate types is slightly heavy but earns its space by clarifying `query.reporter` resolution.

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?

An output schema exists so return values need not be re-specified, yet the description still frames them usefully; the query object's fields are fully documented in the schema. Given the tool's complexity (nested query, `compact`, `year`, aggregate resolution), the description supplies the routing context the schema cannot, leaving nothing essential missing.

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, but the description adds interpretive meaning beyond the schema: it explains that `query.reporter` can resolve to the whole EU, a narrower aggregate (euro area, named group, ad hoc custom group), or a single member state, and how that changes the returned series. That is genuine semantic enrichment rather than restatement.

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 names a specific verb and resource ('Every EU reporter ranked by value for one year') and explicitly positions itself against a sibling ('the country-view counterpart of `get_reporter_detail`'). It also enumerates what is returned (single-year snapshot plus benchmark price series), so an agent can distinguish it from the 30+ other tools 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 Guidelines4/5

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

It gives a clear question-shaped use case: 'Use it to answer "how does this country -- or reporter group -- compare to every other reporter?"', and ties itself to `get_reporter_detail` as the alternative view. What's missing is an explicit when-not (e.g. use `get_reporter_detail` for a deep dive on one reporter rather than a cross-reporter ranking), so the routing is implied rather than stated.

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