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.

Input Schema

NameRequiredDescriptionDefault
registry_codeYes8-digit commercial register code

Output Schema

NameRequiredDescriptionDefault
nameNo
as_ofYes
flagsNo
foundNo
reportNo
statusNo
sourcesYes
distressNo
tax_debtNo
truncatedNo
disclaimerYes
legal_formNo
snapshot_idYes
registry_codeNo
source_detailsYesFull attribution and acquisition evidence: source_metadata(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. Changed1 schema field changed
    • addedOutput schema / properties / distress / properties / score_reason
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. 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"
      +}
  3. 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"
      +]
  4. 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"
      +  ]
      +}
  5. 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"
      +  ]
      +}
  6. 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"
      +  ]
      +}
  7. 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"
      +  ]
      +}
  8. 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"
      +  ]
      +}
  9. 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"
      +}
  10. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly/openWorld=false, and the description adds real domain semantics: the meaning of on_list false, the precise conditions for Unknown, the fact that distress is an indicator not a finding, and that results carry methodology versions. It does not cover rate limits or freshness behaviour beyond snapshot_date, so it adds value but stops short of full behavioral disclosure.

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?

Front-loaded with the output inventory, then semantics, then alternatives, then the exclusion. Dense but every clause carries information; only minor terseness like "dated insolvency and enforcement notices" costs a little readability.

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?

The output schema exists, so return shape need not be explained, and the description covers what an agent otherwise could not infer: the meaning of ambiguous values, the snapshot caveat, the non-decision disclaimer, and where to go instead.

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 coverage is 100% and the single parameter is already described as an 8-digit commercial register code. The description contributes only an indirect constraint (legal entities, not natural persons) rather than clarifying the parameter itself, so the schema does the heavy lifting.

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?

Opens with a specific verb+resource ("Check one legal entity") and enumerates exactly what is returned: status, tax debt, last filed report, overdue days, notices, distress components. An agent can distinguish it from get_company and risk_signals without opening any schema.

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?

Explicitly routes: "Use get_company for the wider financial profile, or risk_signals to scan companies for one signal," and adds a hard exclusion ("Do not look up natural persons"). Both alternatives and the negative condition are named.

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