Skip to main content
Glama

Company registry card

company_snapshot
Read-onlyIdempotent

Fetch a BORME company registry card by slug or name to get officers, capital, address, status, NIF, public contracts, and size hints.

Instructions

Get a company registry card, as in REST API GET /v1/companies/{slug}.

Use it for officers (current roles from published acts), sole_shareholder as printed, capital_eur, address, status, NIF with its source, public_contracts and a size_hint estimate. For dated acts use company_history. Names are searched as in company_history: multiple matches return {ambiguous: true, candidates, candidate_names with name, province and status}; no match returns {error, suggested_companies}.

Returns company_slug, current_name, nif, nif_caveat, sources and other card fields; former_slugs for a merged company. lei: GLEIF Legal Entity Identifier matched by NIF; null means no match yet. website: from the newest BORME act about the company website; null if none or removed. BORME does not report minority shareholdings, employee counts or revenue.

Read-only; one request per call. Requires basic plan or higher; send your API key in X-API-Key (https://bormeapi.com/account).

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": "<company>"
    },
    "name": "company_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyYesCompany slug, e.g. vaz-metales-sl (from search_companies), or a name of at least 3 letters or digits, e.g. "Mercadona", searched case-insensitively as in company_history.
include_inferredNoOptional, default false, e.g. true. true allows an inferred sector when the snapshot has no CNAE code: the newest eligible decision among the company's latest 500 events without a printed code fills `cnae` with a CNAE-2009 division, `cnae_version` `2009`, `cnae_source` `jev` or `llm`, and `cnae_inference` (`confidence`, `model`, `prompt`, `section`, `note`, `event_id`, `date`); with none eligible, none is added. It is the output of a language model, not a code published in BORME, and it describes the objeto social, not the company's verified activity. Sources: TypeSafe Jev (`jev`, `typesafe-ai/jev-1.14.0`, prompt ID `two-stage-v1`, acts from 2024-11-05, threshold 0.9 by default) and Anthropic Claude (`llm`, `claude-haiku-5-5` or `claude-sonnet-5-5`, prompt ID `claude-pack25-v1`, acts of any date, threshold 0.8). On the same act, an eligible Jev decision wins. Coverage differs by model and period (`note`); a change in coverage does not, by itself, show market growth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations, which already cover read-only/idempotent/no-destruction: it discloses the plan requirement ('basic plan or higher'), the X-API-Key auth mechanism with a link, the one-request-per-call constraint, ambiguous/no-match response shapes, null semantics for lei and website, former_slugs on merges, and explicit coverage limits (BORME does not report minority shareholdings, employee counts or revenue). No statement conflicts with readOnlyHint=true or openWorldHint=false.

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 alternative, then layered with return-field semantics and constraints; every sentence carries information. It is dense and slightly list-like in the middle (field enumerations plus null semantics), but there is no filler or repetition.

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 return-value burden and does so thoroughly: card fields, ambiguity/error shapes, former_slugs, lei and website null cases, and what BORME omits. Auth, plan tier and request-per-call limits round out everything an agent needs to invoke 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 real meaning: it explains how the `company` value is resolved (slug from search_companies, or a name of 3+ letters searched case-insensitively), and what happens on multiple matches ({ambiguous: true, candidates...}) versus no match ({error, suggested_companies}). It also clarifies downstream semantics like lei being matched by NIF and website coming from the newest BORME act.

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?

Opens with a specific verb and resource ('Get a company registry card') and even anchors it to the equivalent REST endpoint GET /v1/companies/{slug}. It enumerates the returned fields (officers, sole_shareholder, capital_eur, address, status, NIF, public_contracts, size_hint) and explicitly routes dated-act lookups to company_history, 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 Guidelines4/5

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

Gives a clear when-to-use signal via the explicit exclusion 'For dated acts use company_history', plus the name-vs-slug search behavior and the note that names are searched as in company_history. It stops short of naming other plausible alternatives (company_by_nif for NIF-first lookups, company_contracts for contract detail), so guidance is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.