Skip to main content
Glama

industry_economics

How an industry is doing in a municipality from filed annual accounts: median revenue, median operating margin, share with an operating profit, median change from the year before. code is SN2025, e.g. 56 (food and drink) or 55 (accommodation). Aggregates only, never under five companies; local companies only, not chains' national figures.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "municipality_code": "<municipality_code>",
      "code": "<code>"
    },
    "name": "industry_economics"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
municipality_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: results are aggregates only, suppressed below five companies, and cover local companies rather than chains' national figures. These are non-obvious disclosure and suppression rules that materially affect interpretation. It does not say what happens for an invalid or unknown code, nor how missing data is represented.

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?

Front-loaded with the outcome and metrics before the identifier syntax, then closes with the caveats that affect trust in the numbers. Semicolon-separated clauses each carry distinct information with no filler.

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?

No output schema and no annotations, so the description correctly spends its space describing the returned measures and the aggregation policy. Only gap is the unexplained municipality_code format and any error/no-data behavior, both minor for a two-parameter lookup.

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 0%, so the description must compensate, and it does for 'code': SN2025 nomenclature with two concrete examples (56 food and drink, 55 accommodation), which is exactly the kind of meaning the bare string schema lacks. 'municipality_code' is left completely unexplained, so half the parameters remain undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource (industry performance in a municipality) and enumerates the exact metrics returned: median revenue, median operating margin, profit share, year-over-year change. That specificity makes it distinguishable from sibling tools like industry_codes or industry_gaps. It never states the operation verb explicitly (query/retrieve), but the intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage constraints are implied rather than stated: 'from filed annual accounts' and the aggregation rules tell the agent what data underlies it, but there is no explicit when-to-use or when-to-prefer-an-alternative guidance relative to industry_in_area or industry_gaps. The agent must infer the fit from the metric list.

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