Skip to main content
Glama

APIEmpresas: Spanish company data

Empresa por CIF

get_company
Read-onlyIdempotent

Ficha de UNA empresa española cuando ya tienes su CIF/NIF. Úsala para saber si existe y está activa, su razón social, forma jurídica (con código ISO 20275), código LEI, CNAE, provincia y fecha de constitución; con plan Pro, también domicilio, tramo de facturación, socio único, matriz del grupo y, con include_directors, los administradores vigentes, el tramo de empleados y cuántas sociedades comparten su domicilio (domicilio masivo). Si no tienes el CIF, usa search_companies; para decidir un alta (KYB), verify_company. Gasta 1 consulta; sin API key funciona con los datos básicos y un límite diario. Spanish company lookup by tax ID.

Input Schema

NameRequiredDescriptionDefault
cifYesCIF/NIF de la sociedad española, p. ej. A46103834 (se aceptan espacios y guiones)
include_directorsNotrue para incluir administradores y cargos vigentes (Pro y Business)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing cost ('Gasta 1 consulta'), degraded no-API-key behavior with a daily limit, and Pro-tier gating of address/revenue/group fields plus the include_directors requirement (Pro y Business). It doesn't say what happens on an invalid CIF or a non-existent company, which is the remaining behavioral gap.

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 precondition and core purpose come first, followed by return fields, then alternatives and cost — a sensible front-load. The trailing English restatement 'Spanish company lookup by tax ID' is redundant against the opening sentence and the title.

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?

With no output schema, the description correctly enumerates the returned fields (razón social, forma jurídica, LEI, CNAE, provincia, fecha de constitución) and what conditional extras unlock. An agent has enough to call it and interpret results; only failure/nonexistence semantics are unstated.

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 already 100%, so the baseline is 3, but the description adds real meaning: include_directors is tied to a Pro/Business entitlement and to specific extra payload fields (administradores, tramo de empleados, domicilio masivo). The cif parameter itself adds nothing beyond the schema.

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 ('Ficha de UNA empresa española') and pins the precondition ('cuando ya tienes su CIF/NIF'), which immediately separates it from name-based lookups. It also enumerates the returned fields, so an agent knows exactly what retrieval this is versus search_companies or verify_company.

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

Usage Guidelines5/5

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

Explicit routing: 'Si no tienes el CIF, usa search_companies' and 'para decidir un alta (KYB), verify_company'. Both alternatives from the sibling set are named together with the condition that selects them, leaving nothing to inference.

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.