Skip to main content
Glama

Destatis Search

destatis_search
Read-onlyIdempotent

Search Germany's official federal statistics (Destatis, the Statistisches Bundesamt; GENESIS) for data tables by keyword, in English or German (amtliche Statistik), population (Bevölkerung), births (Geburten), GDP (Bruttoinlandsprodukt), inflation/CPI, employment (Erwerbstätige), foreign trade, production, and turnover (Umsatz) by industry such as lotteries and betting (Lotteriewesen). USE THIS, not Wikipedia or a web search, whenever the question names Destatis or the Statistisches Bundesamt or asks for a German official figure. Common topics (lotteries and betting, insolvencies, population, births, deaths, employment, prices, GDP, trade, production, retail, tourism, earnings) are answered instantly from a curated table index with a data_as_of date; other terms go to a live title search, which is slow for full sentences, so pass key words. Returns matching table codes (e.g. "12411-0001") + titles; pass a code to destatis_table to get the data.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "term": "population"
    },
    "name": "destatis_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
termNoKeyword(s) in English or German, e.g. "population", "Bevölkerung", "consumer prices", "Umsatz". English is tried first, then German.
limitNoMax tables to return (1-50, default 15).
queryNoAlias for term.
_apiKeyNoOptional, your own free Destatis GENESIS API token. Omit to use the shared Pipeworx token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own free Destatis GENESIS API token. Omit to use the shared Pipeworx token."New value: +"Optional, your own free Destatis GENESIS API token. Omit to use the shared Pipeworx token."
  2. Changed3 schema fields changed
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Alias for term.",
      +  "type": "string"
      +}
    • changedInput schema / properties / term / description
      Previous value: -"Keyword(s), e.g. \"population\", \"consumer prices\", \"GDP\", \"unemployment\"."New value: +"Keyword(s) in English or German, e.g. \"population\", \"Bevölkerung\", \"consumer prices\", \"Umsatz\". English is tried first, then German."
    • removedInput schema / required
      Removed value: -[
      -  "term"
      -]
  3. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-destatis-api-key",
      -    "term": "population"
      -  },
      -  {
      -    "_apiKey": "your-destatis-api-key",
      -    "limit": 20,
      -    "term": "consumer prices inflation"
      -  }
      -]New value: +[
      +  {
      +    "term": "population"
      +  },
      +  {
      +    "limit": 20,
      +    "term": "consumer prices inflation"
      +  }
      +]
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-destatis-api-key",
      +    "term": "population"
      +  },
      +  {
      +    "_apiKey": "your-destatis-api-key",
      +    "limit": 20,
      +    "term": "consumer prices inflation"
      +  }
      +]
  5. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent, non-destructive behavior, so the description is not required to restate safety. It does add real traits beyond them: a curated index with a data_as_of date answers common topics instantly while other terms hit a slower live title search, and full sentences degrade performance. It stops short of covering auth/token limits or error/empty-result behavior, so not a full 5.

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?

Front-loaded with purpose, then the use-this-not-that rule, then retrieval behavior and return shape – the ordering matches how an agent decides to call it. It is dense rather than padded, though the long parenthetical topic/keyword lists (population, births, GDP, turnover, lotteries) are repetitive with the example terms already in the schema.

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?

For a 4-parameter, all-optional search tool with no output schema, the description supplies what the schema cannot: what comes back (table codes like '12411-0001' plus titles), that a date stamp accompanies curated hits, latency differences between the two paths, and the handoff to destatis_table. An agent has everything needed to call it correctly and interpret the response.

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 and the schema already documents term, limit, query alias and the API token. The description adds practical meaning beyond that: pass key words rather than full sentences because the live search is slow, and bilingual matching is available. It does not explain the alias or limit semantics, which is why it is a 4 rather than 5.

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?

States a specific verb and resource: search Germany's official federal statistics (Destatis/GENESIS) for data tables by keyword, in English or German. It explicitly positions itself against destatis_table ('pass a code to destatis_table to get the data') and against Wikipedia/web search, so an agent can distinguish it from siblings without opening any 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?

Gives an explicit trigger ('whenever the question names Destatis or the Statistisches Bundesamt or asks for a German official figure') and an explicit exclusion ('not Wikipedia or a web search'). It also explains the two retrieval paths – curated index vs live title search – and the condition for each, plus the follow-up step, leaving nothing to inference.

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.