Skip to main content
Glama

Get Reporter Detail

get_reporter_detail

Per-EU-member-state import/export breakdown -- the reporter-side counterpart of get_partner_detail. Top-N member states (by quantity and by value) with their quantity, value and price series. Aggregate reporters (EU, Euro area, groups) are excluded from the ranking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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. Changed9 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 / title
      Removed value: -"get_reporter_detailArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that aggregate reporters (EU, Euro area, groups) are excluded from the ranking, which is a non-obvious behavior. However, it does not explicitly state any safety characteristics (e.g., read-only) or mention rate limits, pagination, or side effects. The disclosure is partial, adding some value but leaving gaps.

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?

The description is two sentences, front-loaded with the core purpose and the counterpart relationship. Every phrase carries meaning: the breakdown scope, the counterpart, the ranking criteria, and the exclusion of aggregates. There is no redundancy or fluff, making it highly concise and well-structured.

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?

The tool has a complex nested query object and a rich output schema, so the description does not need to explain return values. It provides a high-level overview, the key distinction from a sibling tool, and a behavioral exclusion, which is sufficient for an agent to select and invoke it. It could mention the various tabs (Pattern Shifts, Cross-section, etc.) or the `compact` parameter, but the schema already covers those details. Overall, it is complete enough given the surrounding context.

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%, and the parameter descriptions in the schema are extremely detailed (e.g., product accepts CN codes or TOTAL, n_top controls top entities, compact condenses series). The tool description itself references 'Top-N member states' which aligns with the `n_top` parameter, adding a slight linkage. However, the description does not need to repeat parameter details; it provides minimal additional value beyond the schema, so the baseline 3 is appropriate.

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 states a specific verb and resource: 'import/export breakdown' per EU member state, with top-N member states ranked by quantity and value. It explicitly names the sibling tool `get_partner_detail` as the counterpart, which distinguishes it from other siblings. The scope (reporter-side vs partner-side) is clear, and the exclusion of aggregate reporters is an additional clarifying detail.

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?

The description provides clear context by naming `get_partner_detail` as the counterpart, implying usage when a reporter-side breakdown is needed versus a partner-side one. It does not explicitly state when not to use it, but the exclusion of aggregate reporters hints at a limitation. It lacks exhaustive alternatives or exclusion criteria, but the core usage context is present.

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