Skip to main content
Glama

Mapa Societario — Spanish Company Registry (BORME)

get_company

Get the BORME registry profile of one Spanish company: status, incorporation, current and former officers, sole shareholder (BORME records only sole-shareholder ownership), and — where available — NIF, share capital and registered address. NIF is never in BORME, and capital/address are missing for entities last amended before 2009; such values may be filled by web search and are flagged *_external: true (verify before relying on them). Officers are capped at the 25 most relevant (board/management before apoderados) with *_officers_total counts and an officers_truncated flag — large companies register hundreds of apoderados. Includes a mapasocietario.es link to cite. Resolves to exactly one entity by its current OR former name (company renames are handled) and returns not-found rather than a near-miss — if unsure of the exact name, call search_companies first. name is always the company's CURRENT name; if you queried an old name (or the result's name looks unrelated to your query), check former_names — it lists every prior registered name (registry-recorded 'Cambio de denominación social') before assuming this is the wrong company.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCompany name (fuzzy-resolved to one entity).
slugNoA mapasocietario /empresa slug, e.g. 'acme-sl'.

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries full burden and excels. It discloses data limitations (NIF never in BORME, capital/address missing for old entities), flags for external data (*_external: true), officer caps (25 most relevant with truncation indicator), name handling (current vs former names), and not-found behavior. No contradictions with annotations (none exist).

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 description is relatively long but every sentence earns its place by providing essential context. It is front-loaded with the main purpose and then details edge cases and caveats. Could be more structured with bullet points, but as a free-text description it is well-organized and efficient.

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?

Given the tool's complexity (Spanish company registry with multiple fields, officer caps, name history, external data flags) and the absence of an output schema, the description covers all necessary aspects: what data is returned, what is missing, how to interpret flags, and how to handle name variations. It also mentions a mapasocietario.es link for citation, making the output fully actionable.

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% (both parameters described), but the description adds significant value: it explains that 'name' is fuzzy-resolved to one entity and that 'slug' is a mapasocietario-style identifier. It also clarifies that the returned 'name' field always holds the current name, which is not evident from the schema alone.

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?

The description precisely states the tool retrieves the BORME registry profile of one Spanish company, listing specific data fields (status, incorporation, officers, etc.). It distinguishes from sibling tools like search_companies by explicitly directing the agent to use search_companies when unsure of the exact name, and from get_company_network by implication.

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?

The description provides clear context: it resolves to exactly one entity, returns not-found instead of near-miss, and advises calling search_companies first if the name is uncertain. While it lacks explicit 'when not to use' statements, the guidance is sufficient for most scenarios.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: get_company retrieves a single company's profile, get_company_network shows connections between companies, search_companies finds companies by name, and search_officers finds a person and their linked companies. The descriptions explicitly guide when to use each, eliminating ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: get_company, get_company_network, search_companies, search_officers. The verbs 'get' and 'search' are used appropriately for retrieval vs. lookup, and the naming is predictable and clear.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose of querying a Spanish company registry. The count covers the essential operations (search, details, network, officers) without being too few or excessive, each tool earns its place.

Completeness5/5

The tool set covers the core lifecycle of querying company registry data: searching for companies, retrieving detailed profiles, exploring corporate networks, and investigating officer connections. There are no obvious gaps for this read-only domain, and edge cases (former names, truncation, status) are well-handled.