Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BORME_DSNNoPostgreSQL connection string for the BORME database (only needed at tool-call time; server starts and lists tools without it)
BORME_MCP_TRANSPORTNoTransport: stdio (default) or streamable-httpstdio

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_events

Search Spanish commercial-registry (BORME) events.

All filters optional. Dates are YYYY-MM-DD (coverage starts 2009).
provinces: BORME province names, accent-insensitive (MADRID, CADIZ...).
act_types: normalized enums, e.g. INCORPORATION, APPOINTMENTS, TERMINATIONS,
CAPITAL_INCREASE, DISSOLUTION, INSOLVENCY_STATUS (see list_act_types).
Returns newest first, at most `limit` (<=200) events as JSON.
company_history

Full registry timeline for one company, oldest first.

`company` is a company slug (e.g. vaz-metales-sl) or an exact-ish name;
if no slug matches, falls back to case-insensitive name search and, when
several companies match, returns the list of candidate slugs instead.
company_by_nifA

Look up a Spanish company by its NIF/CIF tax ID.

BORME itself prints no tax IDs — this mapping is cross-referenced from
open official sources (GLEIF, BDNS subsidies register, AEAT) and covers
a growing subset (~232k companies). A miss means "not matched yet",
not "does not exist". On a hit, follow up with company_history using
the returned slug.
recent_signalsA

Sample of the latest derived risk signals (last 7 publication days, max 10 rows). Types: INSOLVENCY_FILED, ACCORDION, MASS_EXIT, OWNERSHIP_CHANGE, DISTRESS_COMBO, PHOENIX, ADDRESS_CLUSTER, AEAT_DEBTOR.

This is a teaser feed — the full historical signals firehose lives in the
hosted API's risk tier (https://bormeapi.com/#pricing).
daily_digest

Digest of one BORME publication day (default: latest in the database): totals by event type, top provinces, and all insolvency declarations.

list_act_typesA

All normalized event types (English enum + original Spanish label).

registry_stats

Coverage and freshness report for the BORME dataset behind this server.

Returns a JSON object with: total_events (approximate count, planner
estimate), total_companies, date_range (first and latest publication day
covered, YYYY-MM-DD), and recent parse completeness (share of gazette text
successfully structured over the last publication days, e.g. 0.9987).

Use this to answer "how much data is there?", "how fresh is it?" and
"can I trust date filters for period X?" before running searches. Takes
no arguments; counts are estimates (fast reads), not exact tallies.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/george-kozlitin/borme-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server