Skip to main content
Glama

Detalle de empresa

get_company
Read-onlyIdempotent

Get one company's profile summary: wins, awarded volume, location. total_awarded_eur is the NET (excluding VAT) volume. Awards whose source publishes only a VAT-inclusive figure (some regional portals) are not in it: their VAT-inclusive euros come apart as vat_inclusive_only_awarded_eur; never add them to the net total. ute_participation (when the company is a member of UTEs) states those UTEs' awards at their full contract value, apart from wins; group lists the company's other legal entities (same entity under another legal form) with their own figures. Neither is added to wins or total_awarded_eur. include=['activity'] adds by_year (wins and awarded euros per year; dated awards only, so it sums to less than wins when some awards carry no date), by_month (last 24 months), the first and last award date, the top 10 buyers (top_authorities, of top_authorities_total), top_regions, top_cpv and by_contract_type. One row per awarded lot: get_company_awards.

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": {
      "company_id": "<company_id>"
    },
    "name": "get_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeNoExtra blocks: 'activity' adds wins and awarded euros per year (dated awards only) and per month (last 24), the first and last award, the top buyers, regions and CPV codes and the contract types.
company_idYesCompany id (uuid) from search_companies results

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it flags that total_awarded_eur is net of VAT, that VAT-inclusive-only awards are reported separately and must never be summed, and that ute_participation and group figures are excluded from wins and totals. It also warns that by_year under-counts versus wins because undated awards are dropped – exactly the kind of aggregation caveat an agent would otherwise get wrong.

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 the core purpose and results, and every sentence carries substantive caveat value. The paragraph is dense and the VAT exclusion point is stated twice, which slightly hurts scanability for a single-block description.

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?

No output schema exists, so the description must carry the return-value burden and does: it names the aggregate fields, their accounting basis, the fields deliberately excluded from totals, and the full contents of the optional activity block. Nothing material is missing for a two-parameter read tool.

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; the description earns extra by specifying that by_month covers the last 24 months and that top_authorities is a top-10 list out of top_authorities_total. It largely restates the include enum's meaning, so it is additive rather than transformative.

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 and immediately enumerates what comes back (wins, awarded volume, location), then contrasts with get_company_awards ('One row per awarded lot'), so the agent can distinguish the aggregate-profile tool from the per-lot sibling without opening a schema.

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

Usage Guidelines4/5

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

Routing is implied clearly: this tool for the company profile, get_company_awards for lot-level rows, and include=['activity'] for the extra breakdown blocks. There is no explicit 'use when / do not use when' phrasing or stated prerequisites, so it falls short of a 5.

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