Skip to main content
Glama

Get Market Environment of Company's Industry

get_company_market_environment
Read-onlyIdempotent

Get the market environment of the company's industry (NAICS classification, else PKD 2007 class): a one-sentence summary (favourable / unfavourable / mixed / stable) and up to 4 strongest, non-overlapping indicators, each with a headline, a concrete observation with figures, effect on the company (positive/negative/neutral), source and the time series. Indicators: revenue growth and net margin of comparable companies computed from KRS financial statements, demand (sales/services volume, output), prices and bankruptcies from Monitly (Eurostat, GUS), latest-month GUS retail prices of what the company or its industry sells. Identify company by name, KRS, or NIP; sole proprietors (CEIDG) by NIP, matched by their main PKD class.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
krsNoKRS registry number.
nipNoNIP tax number.
langNoLanguage of summary and observations (default pl).
nameNoCompany name when KRS/NIP is unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral substance beyond them: the NAICS-with-PKD-2007 fallback for classification, the exact upstream sources (KRS financials, Monitly/Eurostat/GUS, GUS retail prices), and the cap of 4 indicators — useful for judging freshness and coverage.

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 purpose and the returned structure are front-loaded, and nearly every clause carries information. The single dense sentence does run on and mixes output specification with identifier resolution, which slightly hurts scanability.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly — summary verdict vocabulary, indicator count cap, and the fields of each indicator. Combined with source disclosure and identifier fallback rules, an agent has enough to call 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not: it clarifies that name is the fallback when KRS/NIP is unknown, and that sole proprietors must be resolved via NIP matched on their main PKD class. The lang parameter's effect (language of summary and observations) is left to the schema.

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?

States a specific verb and resource ('get the market environment of the company's industry') and enumerates the payload: a one-sentence verdict plus up to 4 non-overlapping indicators with headline, figures, effect, source and time series. That is far more concrete than the sibling 'get_company_stock_market', though the description never explicitly contrasts itself with that sibling.

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?

It specifies how to identify the subject (name, KRS, or NIP; CEIDG sole proprietors by NIP via main PKD class), which is operational guidance. However, it gives no explicit when-to-use / when-not-to-use framing and never points to an alternative tool such as the stock-market or financial-documents siblings.

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.