Skip to main content
Glama

Get Market Summary

get_market_summary

Report-section helper ("General overview"): condensed, report-ready digest of how a market has evolved over the chosen window -- one call instead of separately fetching and cross-referencing get_overview + get_reporter_detail + get_concentration + get_net_import_reliance yourself. Set query.frequency = "year" for a multi-year evolution summary (recommended over the model's default of "quarter").

Every figure reflects query exactly as given -- the same product/reporter/partner_set/period slice a dashboard user would have selected. Nothing here substitutes a different reporter or partner_set (e.g. to contrast intra-EU against extra-EU trade): call this again with a different query.partner_set for that, the same way a dashboard user would switch the sidebar's selector.

Returns {narrative_facts, chart_data, available, reason}. narrative_facts combines, for the flow selected by query.partner_set:

  • Headline trade: first/last/min/max/pct_change for export & import value, quantity and price, plus the trade-balance trend.

  • Partner concentration: first/last/pct_change of the value-based HHI for imports and exports.

  • Top partners and top EU reporters by value: each one's first/last/pct_change -- i.e. who is gaining or losing share.

  • Net import reliance: first/last/pct_change of the annual NIR % for query's own reporter/partner_set (only frequency is normalised to "year", since NIR is structurally annual and the upstream API always returns it that way regardless); omitted if the product has no PRODCOM mapping. chart_data carries the full-fidelity headline trade and top-partner/ top-reporter series for charting.

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.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains that every figure reflects the query exactly as given, that NIR is normalized to 'year' regardless of the requested frequency, and that NIR is omitted if the product lacks a PRODCOM mapping. It also fully describes the return structure, which is comprehensive for a read-only analytical tool.

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 longer than average but well-structured: it opens with the core purpose, then gives usage guidance, and finishes with a detailed return-structure breakdown. Each section adds value, and the bullet-style list under narrative_facts is readable. It could be slightly trimmed without losing information, but it is far from bloated.

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?

Despite the tool's complexity (nested query, multiple output components), the description is complete: it covers purpose, usage, behavioral nuances (NIR normalization/omission), return fields, and how to adjust parameters. It even explains the tool's relationship to sibling tools. An agent has everything needed to select and invoke it correctly.

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?

The schema already documents all parameters at 100% coverage, so the baseline is 3. However, the description adds practical, tool-specific semantics: it recommends setting query.frequency to 'year' for multi-year summaries and explains that changing query.partner_set is the way to contrast different partner groups. These are meaningful usage insights beyond the schema's generic field descriptions.

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 clearly states the tool's function as a 'Report-section helper' that produces a 'condensed, report-ready digest of how a market has evolved', and it explicitly differentiates itself from the siblings get_overview, get_reporter_detail, get_concentration, and get_net_import_reliance by saying it replaces the need to call them separately. It is a specific verb+resource with clear scope.

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?

The description gives clear when-to-use guidance: for the 'General overview' report section, and recommends setting query.frequency to 'year' for multi-year evolution. It also provides an alternative usage path by telling the agent to call again with a different query.partner_set for different slices, explicitly stating it does not substitute a different reporter/partner_set. This is more than a generic usage context.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have clearly distinct purposes, but several concentration-related tools (get_concentration, get_concentration_compare, get_concentration_map) and volatility-related tools (get_volatility, get_volatility_summary) could be confused without careful reading. The detailed descriptions help, but the boundaries are not always immediately obvious.

Naming Consistency4/5

The vast majority of tools follow a consistent get_ prefix pattern for data retrieval. A few exceptions (guidelines_for_a_*, resolve_product_code, search_codes, validate_code) deviate to signal different kinds of operations, which is sensible but breaks uniformity.

Tool Count2/5

With 37 tools, the server is heavily overloaded. Many tools are variations on the same analytical theme (e.g., multiple concentration and production tools) and could be consolidated or parameterized. This creates a steep learning curve and increases the chance of selecting the wrong tool.

Completeness5/5

The tool set comprehensively covers the trade-exploration workflow: product code resolution, hierarchical browsing, headline stats, partner/reporter detail, concentration, volatility, shocks, production metrics, and report generation. There are no obvious gaps or dead ends for its stated purpose.

Resources