StackData
Server Details
Official statistics, China censuses & yearbooks, and as-of customs tariffs with legal citations.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
4 toolsget_tableAInspect
Fetch a STORED table whole, by dataset id (families cn-nbs-census and cn-nbs-yearbook): labelled rows × columns with original-language labels, English overlay, units, and provenance down to the source file. Ids look like 'cn-nbs-census:2010_a0101a'.
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | catalog dataset id |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the disclosure burden. It clearly states this is a fetch operation (non-mutating) that returns the whole stored table, and describes the content structure. It does not mention error handling or potential limitations, but given the simplicity, the core behavioral traits are disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single well-structured sentence that front-loads the core action ('Fetch a STORED table whole'), then details the return contents and ID format. No wasted words; every phrase earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with one parameter and no output schema, the description fully covers what the agent needs to know: what it retrieves, the exact input format, and the families involved. There is no missing operational detail that would prevent correct usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already describes dataset_id as 'catalog dataset id' (100% coverage). The description adds significant value by giving the exact ID format ('cn-nbs-census:2010_a0101a') and the applicable families, which helps the agent construct valid values. This goes beyond the schema's minimal description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Fetch', the resource (a STORED table), and the distinguishing scope (by dataset id, with families cn-nbs-census and cn-nbs-yearbook). It also specifies the exact return contents (labelled rows×columns, labels, English overlay, units, provenance), which differentiates it from siblings like tariff_lookup or resolve_data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It implies usage when you have a dataset_id and provides the ID format, but it does not explicitly state when to prefer this over search_datasets (e.g., when you already have an ID) or exclude scenarios like searching by keyword. The guidance is implied but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resolve_dataAInspect
Ask a data question in English ('unemployment rate in Japan', 'compare GDP in Japan and Germany') — resolves to the best covering dataset and returns the observations, with coverage honesty (missing countries are reported, never papered over).
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | the question | |
| end | No | end year | |
| start | No | start year |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Since no annotations are provided, the description carries the behavioral burden. It discloses that the tool returns observations and adds an important behavioral guarantee: missing countries are reported rather than silently omitted. It could mention failure when no dataset matches, but the disclosed behavior is meaningful and honest.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, information-dense sentence. Examples are embedded in a parenthetical, and every clause contributes: the action, the resolution behavior, the return value, and a key honesty guarantee. No fluff or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 3-parameter tool with no output schema, the description covers the input style, resolution behavior, return content, and an important coverage guarantee. It does not detail output formatting or how failures are handled, but it provides enough context for an agent to invoke and interpret the result correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the three parameters, so the schema already documents start and end years. The description adds semantic value by clarifying that the q parameter is a natural-language English data question and provides concrete examples of valid input.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb ('Ask') and resource ('data question') and explains that it 'resolves to the best covering dataset and returns the observations.' The natural-language query behavior clearly distinguishes it from sibling tools like get_table or search_datasets, which are more direct retrieval/search operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage context: use this tool when you have a data question phrased in English, supported by examples like 'unemployment rate in Japan.' It does not explicitly name alternatives or exclusions, but the intended use case is unmistakable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_datasetsAInspect
Search StackData's catalog of 50k+ official statistical datasets (SDMX/World Bank dataflows, China censuses and yearbooks, tariff schedules). Multilingual: an English query finds Chinese-titled tables. Returns dataset ids usable with the other tools.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | search query | |
| limit | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the behavioral burden. It discloses meaningful behaviors: multilingual search (English query finds Chinese-titled tables), the scope of the catalog, and that output is dataset IDs. However, it does not mention pagination, ordering, default limit behavior, or whether the search is fuzzy/prefix-based, leaving some behavioral ambiguity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two compact sentences deliver the essential information: what is searched, the catalog size, content types, multilingual behavior, and the output type. It is front-loaded, specific, and contains no filler or repeated schema information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter search tool with no output schema, the description covers the catalog scope, search behavior, return value (dataset IDs), and downstream usage. Minor gaps like result count or paging are already partially covered by the schema defaults, so the description is reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 50%, since 'limit' lacks a description. The description adds value by clarifying that 'q' supports multilingual matching, which goes beyond 'search query.' However, it does not address the 'limit' parameter or explain how many results may be returned, despite the schema's default/max values already existing.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Search'), a precise resource ('StackData's catalog of 50k+ official statistical datasets'), and enumerates concrete content types. It makes clear the tool is a discovery/search layer whose outputs feed other tools, distinguishing it from siblings like get_table or tariff_lookup.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies when to use this tool: before the other dataset tools, since it 'returns dataset ids usable with the other tools.' It also highlights the multilingual matching behavior as an important usage consideration. It does not explicitly list exclusion conditions or name alternative tools, so not a full 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tariff_lookupAInspect
As-of customs-tariff lookup: which measures/duty rates apply to a goods code in a jurisdiction (eu, us, uk, jp), optionally from an origin, on a date. Duty expressions are verbatim; every measure carries its legal citation. Not legal advice.
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | goods code, 2-10 digits (HS/TARIC/HTS) | |
| date | No | as-of date YYYY-MM-DD, default today | |
| origin | No | ISO2 origin country (eu/uk only) | |
| direction | No | import | |
| jurisdiction | No | eu |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral disclosure burden. It adds meaningful detail: duty expressions are verbatim, every measure includes a legal citation, and the tool is not legal advice. It does not cover pagination, errors, or rate limits, but the core lookup behavior and output traits are transparently stated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tight sentences with no filler. The first sentence front-loads the purpose and query parameters; the second adds output behavior and a caveat. Every element earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no output schema and no annotations, the description covers purpose, query parameters, output characteristics, and a caveat. Minor gaps remain: direction/export semantics are not explained, and defaults are left to the schema. Overall, it is largely complete for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description restates key parameters (code, jurisdiction, origin, date) and enumerates jurisdiction values, matching the schema. Schema coverage is 60%, and the description helps clarify the query dimensions, but it does not mention the 'direction' parameter or its import/export semantics, leaving part of the parameter space underspecified.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('lookup'), a clear resource ('customs-tariff'), and the core query dimensions: goods code, jurisdiction, optional origin, and date. It distinguishes this from the generic sibling tools (get_table, resolve_data, search_datasets) by its domain and purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use the tool (when tariff/duty-rate information is needed as of a certain date) but provides no explicit guidance about alternatives or when not to use it. Sibling tools are not mentioned, so the decision boundary is left entirely to the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
US tariff & trade truth: duty actually paid by origin/HS 2017+, HTS rulebook, CBP rulings. No key.
US tariff & trade truth: duty actually paid by origin/HS 2017+, HTS rulebook, CBP rulings. No key.
Source-linked US tariff and trade-action changes: legal status, effective dates, dated archive.
Official data with free samples, provenance, aggregations, freshness and agent-ready insights.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying China National Bureau of Statistics data including economic indicators, time series, and regional statistics. Supports natural language search, batch queries, comparisons, and analysis across monthly, quarterly, and yearly datasets.31835Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Chinese bidding and tendering data, enabling users to search for companies, analyze bidding statistics, query tender announcements, and discover project opportunities for market analysis and business development.10
- AlicenseNot gradedqualityCmaintenanceEnables querying statistical data from China NBS, World Bank, IMF, OECD, BIS, census, and department statistics via MCP tools.Apache 2.0
- AlicenseAqualityAmaintenanceOfficial economic statistics with full citations — World Bank, IMF WEO, ECB — plus verify_stat to check a claimed figure against the official series. Free, remote, no auth.121MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
Each tool targets a distinct operation: catalog search, exact table retrieval, natural-language data resolution, and tariff lookup. Even though search and resolve both accept English queries, one returns dataset IDs and the other returns observations, so the boundaries are clear.
Three tools follow a clear verb_noun pattern (get_table, resolve_data, search_datasets), and all names use lowercase snake_case. tariff_lookup deviates slightly from the verb-first pattern but remains consistent in style and readable.
Four tools is a well-scoped count for a read-only statistical data server. Each tool provides a distinct core capability with no redundant or filler tools.
The core read-only data workflow is covered: discover dataset IDs, fetch a known table, ask a data question, and run tariff lookups. Minor gaps such as schema-only metadata access or generic table filtering are not present, but agents can work around them with the existing tools.