Skip to main content
Glama
Sirenic MCP server

Sirenic MCP server

Official

Latvian company legal events

get_latvian_company_events
Read-only

Retrieve official Latvian company legal events—liquidations, mergers, acquisitions, divisions, transformations, suspensions, securing measures—by registration number for compliance checks.

Instructions

Latvian company legal events from the official Uzņēmumu reģistrs open data (CC0, daily national photo): liquidations and activity terminations (incl. by court or tax authority), mergers, acquisitions, divisions and transformations with the other company's number (never an individual merchant's), VID activity suspensions, and securing measures (prohibitions, liens, attachments) with the registering institution. Closed-list types plus source code and wording. The answer carries the company's statut and statut_detail: an active company with no current entry gets aucun_evenement: true, except when one of its liquidations, suspensions or securing measures left the register's snapshot on the identity copy's day or later: until the next identity copy, that copy cannot tell a lifted entry from a striking off, and the route returns 503 photo_perimee, not billed. The register removes a struck-off company's liquidations, suspensions and securing measures on the day of striking off: those Sirenic saw before are kept and served with retire_de_la_publication_le (the day they were removed from the register's publication) and derniere_publication_le, under partial coverage that says since when they are kept (never for an active company); a family with no entry, current or kept, is named in blocs_absents (reason radiation_inscriptions_retirees); a struck-off company with nothing published or kept returns 404 radiee_inscriptions_retirees, not billed. Nothing is kept for officers, members or shareholders. Legal persons only: an individual merchant (IK), a sole trader or a form not recognised as a legal person returns 404, not billed. Paid via x402 ($0.02 in USDC or EURC). When you report a result, cite its citation verbatim.

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": {
      "regnr": "<regnr>"
    },
    "name": "get_latvian_company_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
regnrYes11-digit Latvian registration number (Uzņēmumu reģistrs), e.g. 40003032065

Output Schema

NameRequiredDescriptionDefault
hintNoHow to settle the quote, present when payment_required is true.
quoteNoThe signable x402 payment requirements when payment_required is true: {x402Version, accepts[]} where each entry carries scheme, network, amount, asset and payTo (USDC and EURC options at the same numeric amount). Sign one entry and call again with `x_payment`.
resultatNoThe endpoint's JSON response when payment_required is false. Paid responses carry `source`, `disclaimer` and an Ed25519 signature, and every paid JSON response carries a `provenance` array (all tools since 2026-09-06): one entry per block served, with the official register, licence, version, `empreinte_sha256` (full snapshots), `as_of` date and `precision_as_of` (what that date means), plus the common per-block envelope: `etat` in a closed list (servi, absence_mesuree, absence_non_conclusive, partiel, perime, indisponible, sans_objet), `motif` when unavailable, `age_jours` (only for publication or ingestion dates), `couverture` (complete / partielle / non_mesurable with its measure) and `confiance` in bands (faible / moyenne / forte, only where a measure grounds it, never averaged across blocks). Read the states before the numbers: an absence_non_conclusive, indisponible or partiel block is never « nothing to report »; only absence_mesuree asserts an absence. Register codes: GET /v1/provenance/registres ; states, closed lists and reading rules: GET /v1/lecture (both free). The PDF tools carry no JSON envelope (the PDF report prints it).
free_tierNoFree API key offer for this tool, present with a quote.
payment_requiredYesTrue when this response is an x402 payment quote instead of data: settle one of the quote's `accepts` options and call the tool again with `x_payment`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds a great deal beyond them — paid x402 cost ($0.02 USDC/EURC), the 503 photo_perimee and 404 radiee_inscriptions_retirees cases being unbilled, retained-entry coverage with retire_de_la_publication_le, blocs_absents for empty families, and a citation requirement. The value is real but blunted by garbled phrasing ('daily national photo', 'Sirenic saw before', 'photo_perimee') that an agent must decode.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One long run-on block with no line breaks, lists, or grouped sections, mixing billing, error codes, retention semantics, and citation policy into three dense sentences. Sentences sprawl well past readable length, and untranslated/garbled tokens ('statut', 'aucun_evenement', 'Sirenic saw before') add decoding cost without adding information. The first sentence is adequately front-loaded, which keeps this above 1.

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?

An output schema exists, so return values need not be explained, and the description nonetheless covers the edge cases that matter for correct invocation and reporting: non-legal-person 404s, struck-off companies, retained entries, partial coverage, and billing on failure paths. Completeness is high; readability, not missing content, is the shortfall.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single required regnr parameter, including the 11-digit pattern and an example, so the schema carries parameter semantics on its own. The description adds no additional meaning about the identifier beyond the 'legal persons only' scope restriction. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states the specific resource (Latvian company legal events from the Uzņēmumu reģistrs) and enumerates the covered event classes: liquidations, mergers, acquisitions, divisions, VID suspensions, securing measures. That is far more than a restatement of the name. It does not, however, explicitly differentiate itself from the sibling get_latvian_company_insolvency, which plausibly overlaps on liquidations, so 4 rather than 5.

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

Usage Guidelines2/5

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

The description is almost entirely about the tool's own behaviour and edge cases; it never says when an agent should pick it over get_latvian_company_insolvency, get_latvian_company_accounts, or get_latvian_company_officers. The only routing-adjacent statement is a negative scope ('Nothing is kept for officers, members or shareholders'), which implies but does not state an alternative.

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

Deploy Server

Other Tools