Skip to main content
Glama

Licence status of a counterparty

get_counterparty
Read-onlyIdempotent

Licence status of a capital markets counterparty. Returns the regulator's record of one firm: whether it is licensed, authorised or registered, by which regulator, for what, and since when the register says so. Give a Legal Entity Identifier, or a market and the regulator's firm number. Every field carries its source page and the date it was read. The record is signed; the read leaves a receipt.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_counterparty"
  }
}

Input Schema

NameRequiredDescriptionDefault
leiNoA Legal Entity Identifier (20 characters).
marketNoThe market, two letters (for example uk). On a market's own MCP it may be left out.
versionNoA version of the record (default: the current version).
firm_numberNoThe regulator's firm number, exactly as the register writes it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description adds genuinely new behaviour: every field carries its source page and read date, the record is signed, and the read leaves a receipt (audit trail). It does not cover failure behaviour, such as what happens when no licence record exists for the firm.

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 resource and the returned content, then identification, then provenance. Dense but each clause carries information; the closing 'record is signed; the read leaves a receipt' is slightly ornate phrasing but conveys real audit behaviour.

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?

With no output schema, the description usefully summarises the return content and its provenance. For a read-only lookup with zero required parameters this is close to sufficient, though the version parameter and the case of a firm absent from the register are not addressed.

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%, so all four parameters are already documented in the schema, and the description's identification sentence largely restates the LEI-or-market+firm_number combination the schema describes. The version parameter is not touched on in prose, so the description adds only marginal meaning beyond the schema baseline.

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?

States a specific verb and resource: it returns the regulator's record of one firm's licence status, enumerating the fields returned (licensed/authorised/registered, regulator, what for, since when). An agent can tell it fetches a regulatory record rather than resolving, verifying or listing counterparties, although no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied via the identification instructions ('Give a Legal Entity Identifier, or a market and the regulator's firm number'), which conveys how to call it. There is no explicit when-to-use versus when-not, and nothing distinguishes it from siblings like resolve_counterparty or verify_counterparty, leaving the agent to infer selection.

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.