Skip to main content
Glama

get_deregistered_company_stats

Read-only

Get the company breakdown of the De-registered IDs

Who left: the De-registered IDs of /v1/stats/deregistered (same population, same daily rollup, same deregistered total) by company profile, register status, lifetime, re-activation and leftovers.

entity_type, sector, size and region come from the company register (BE, FR, NO, SE, FI and SI only) and cover the enriched IDs: the cells of each of the four add up to enriched, with the key unknown for an enriched ID that has no value in that breakdown. Each cell carries base, the registered IDs in the same cell, so the two mixes can be compared. company_status is the status of the company in its register now: active (still in business, gone from Peppol), ceased, or unmatched (no register match). lifetime is the time from the join date to the de-registration; unknown holds the IDs with no usable join date or a leave before 2026-08-02. leftovers counts the De-registered IDs that still have a Peppol Directory entry (directory_card). reactivation is the share of the IDs de-registered since 2026-08-02 that are registered again.

A count below 10 is withheld (count: null, suppressed: true), and so is a cell with a registered base from 1 to 9 (base: null too). When one cell alone of a breakdown is withheld, the next-smallest cell is withheld with it, so that it cannot be had back by subtraction (not for leftovers, which is part of no total). Counts only: no company and no natural person is named.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, it discloses substantial behavior: small-count suppression (`count: null`, `suppressed: true`), the complementary-suppression rule that withholds the next-smallest cell to prevent recovery by subtraction (with the leftovers exception), and a privacy guarantee that no company or natural person is named. These are exactly the operational traits an agent needs and cannot get from the sparse schema or annotations.

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 purpose is front-loaded in sentence one, and the dense detail that follows is almost entirely load-bearing: register coverage, the `enriched` totals, cell `base` semantics, and suppression rules. It is long and packed, but each clause explains a field or a caveat rather than padding; only the parenthetical asides make it heavier than strictly necessary.

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 must carry the entire return-value burden, and it does: it defines every breakdown dimension, the `base` field for comparing mixes, the `unknown` buckets, the register-status enum, and the suppression behavior. Nothing an agent needs to correctly interpret a response appears to be missing.

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?

The tool takes no parameters, so the baseline is 4; there is no schema documentation to compete with. The description instead invests in defining the output cells (`entity_type`, `sector`, `size`, `region`, `company_status`, `lifetime`, `reactivation`, `leftovers`, `base`), which is valuable even though it is not, strictly, parameter semantics.

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 names a specific verb and resource ('Get the company breakdown of the De-registered IDs') and anchors it to the `/v1/stats/deregistered` endpoint, making clear it is the company-breakdown companion to the aggregate tool. An agent can distinguish it from siblings like get_deregistered_stats and list_deregistered_ids. It stops short of explicitly naming the sibling to prefer for totals, keeping it at 4.

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?

'Same population, same daily rollup, same `deregistered` total' as `/v1/stats/deregistered` frames the relationship to the aggregate stats tool, implying this is the drill-down you pick when you need per-company-profile segmentation rather than totals. There are no parameters, so there is no filter-selection guidance to give, but the description never explicitly states the alternative or when-not to use it.

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.

Resources