Skip to main content
Glama

Check a counterparty

check_counterparty
Read-only

Check one legal entity: status, tax debt, last filed report, overdue days, dated insolvency and enforcement notices, and distress components with evidence and methodology version. on_list false means not on the EMTA debt list ≥100 € as of snapshot_date. Unknown applies only when that list was not observed and is undated. Distress is an indicator, not a finding or credit decision. Use get_company for the wider financial profile, or risk_signals to scan companies for one signal. Do not look up natural persons.

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": {
      "registry_code": "<registry_code>"
    },
    "name": "check_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
registry_codeYes8-digit commercial register code

Output Schema

NameRequiredDescriptionDefault
hintNoSuggested search when the registry code is outside snapshot coverage.
nameNo
as_ofYes
flagsNo
foundNo
reportNo
statusNo
sourcesYes
distressNo
tax_debtNo
truncatedNo
disclaimerYes
legal_formNo
snapshot_idYes
disclaimer_enNoEnglish disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.
registry_codeNo
source_detailsYesFull attribution and acquisition evidence: source_metadata(source_key).
omitted_sectionsNoSections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.
insolvency_announcementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / disclaimer_en
      Added value: +{
      +  "description": "English disclaimer: extract of official public open data; not an official register extract, legal advice, or a credit decision.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / distress / properties / score_max
      Added value: +{
      +  "description": "Distress score scale maximum (points); scores run 0-100.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / hint
      Added value: +{
      +  "description": "Suggested search when the registry code is outside snapshot coverage.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / report / properties / next_due_period_end
      Added value: +{
      +  "description": "Fiscal year end (YYYY-MM-DD) for the filing deadline in next_due.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / source_details / description
      Previous value: -"Full attribution and acquisition evidence: source_metadata(key)."New value: +"Full attribution and acquisition evidence: source_metadata(source_key)."
  4. Changed1 schema field changed
    • addedOutput schema / properties / distress / properties / score_reason
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  5. Changed4 schema fields changed
    • addedOutput schema / properties / distress / properties / note
      Added value: +{
      +  "description": "Note. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / distress / properties / reasons
      Added value: +{
      +  "description": "Reasons. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "component": {
      +        "description": "Component. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +        "type": "string"
      +      },
      +      "contribution": {
      +        "description": "Contribution. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +        "type": "integer"
      +      },
      +      "event": {
      +        "additionalProperties": true,
      +        "description": "Event. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable.",
      +        "properties": {
      +          "detected_at": {
      +            "description": "Detected at. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +            "type": "string"
      +          },
      +          "previous_score": {
      +            "description": "Previous score. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +            "type": "integer"
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / distress / properties / reasons_total
      Added value: +{
      +  "description": "Reasons total. queries_extra._distress_rising_events and distress_reasons: persisted score observations.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / sources / items / properties / as_of_basis
      Added value: +{
      +  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted.",
      +  "type": "string"
      +}
  6. Changed5 schema fields changed
    • addedOutput schema / properties / omitted_sections
      Added value: +{
      +  "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / source_details
      Added value: +{
      +  "description": "Full attribution and acquisition evidence: source_metadata(key).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / as_of
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / key
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "snapshot_id",
      -  "as_of",
      -  "sources",
      -  "disclaimer"
      -]New value: +[
      +  "snapshot_id",
      +  "as_of",
      +  "sources",
      +  "source_details",
      +  "disclaimer"
      +]
  7. Changed3 schema fields changed
    • addedOutput schema / properties / tax_debt / properties / first_seen
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / tax_debt / properties / left_censored
      Added value: +{
      +  "description": "True when first_seen is the retention boundary (tax_debt_history_start), so the first listing may be earlier. Not a claim of continuous listing: check episodes and events in tax_debt_history for clears and re-entries. The compact tax_debt view omits the key when false.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / tax_debt / properties / oldest_debt_date
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  8. Changed3 schema fields changed
    • addedOutput schema / properties / sources / items / properties / licence_checked_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / licence_evidence_url
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sources / items / properties / rights_status
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  9. Changed3 schema fields changed
    • changedOutput schema / properties / distress / properties / components / additionalProperties
      Previous value: -trueNew value: +false
    • removedOutput schema / properties / distress / properties / components / properties / adverse_media
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "reason": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "unit": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "value": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / distress / properties / methodology_version
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  10. Changed2 schema fields changed
    • addedOutput schema / properties / flags
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "bankruptcy": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "enforcement": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "liquidation": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "restructuring": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / insolvency_announcements / items / properties / kind
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  11. Changed2 schema fields changed
    • addedOutput schema / properties / tax_debt / properties / schedule_end_date
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / tax_debt / properties / schedule_end_date_reason
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  12. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "as_of": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "disclaimer": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "distress": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "calculated_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "components": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "adverse_media": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "board_churn": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "financial_health": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "insolvency_announcements": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "license_loss": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "tax_debt": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "reason": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "risk_level": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "score": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "score_unit": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "found": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "insolvency_announcements": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "category": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "publication_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "legal_form": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "registry_code": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "report": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "filed": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "latest_year": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "latest_year_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "next_due": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "overdue_days": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "overdue_days_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "period": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "unit": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "snapshot_id": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "attribution": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "licence": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "licence_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "tax_debt": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "debt_amount": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "debt_amount_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "disputed_amount": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "disputed_amount_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "on_list": {
      +          "type": [
      +            "boolean",
      +            "null"
      +          ]
      +        },
      +        "scheduled_amount": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "scheduled_amount_reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "snapshot_date": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "threshold_eur": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "unit": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "truncated": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "snapshot_id",
      +    "as_of",
      +    "sources",
      +    "disclaimer"
      +  ],
      +  "title": "check_counterpartyOutput",
      +  "type": "object"
      +}
  13. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses interpretation rules that annotations cannot: what 'on_list false' means relative to the EMTA debt list threshold and snapshot_date, when 'Unknown' applies (list not observed and undated), and that distress is an indicator rather than a finding or credit decision. It stops short of describing pagination, latency, or data recency failure modes, so it is strong rather than exhaustive.

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 output fields are front-loaded, followed by result semantics, then alternatives and an exclusion — a logical order. The on_list/Unknown sentences are dense and slightly cryptic on first read, but every sentence contributes information rather than padding.

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 an output schema present, the description needn't restate return values, yet it still explains the meaning of key result states and offers appropriate interpretive caveats. For a one-parameter read-only tool, nothing needed to call it correctly is missing.

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?

There is a single parameter with 100% schema description coverage ('8-digit commercial register code'), so the baseline is 3. The description adds only the constraint that the code must refer to a legal entity, not a natural person, which is useful but small.

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 names a specific verb and resource ('Check one legal entity') and enumerates exactly what is returned: status, tax debt, last filed report, overdue days, insolvency/enforcement notices, and distress components. This is clearly distinguishable from the named siblings get_company (wider profile) and risk_signals (signal scanning).

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?

It gives explicit routing: use get_company for the wider financial profile, use risk_signals to scan companies for a single signal. It also states a hard exclusion ('Do not look up natural persons'), which prevents a common misuse.

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