Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Earlier KYB checks

list_kyb_checks
Read-onlyIdempotent

List previously run KYB checks newest first, with pagination and filters by outcome or company number, without creating a new check.

Instructions

List KYB checks already run on this account, newest first, without running any more (no stored record is created): check_id, company_number, company_name, reference, outcome (pass, refer, fail, unable_to_check), reason_codes and checked_at. Page with next_cursor. Needs the Starter API plan or above (a Free key gets a plan_upgrade_required error with an upgrade_url).

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": "list_kyb_checks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoChecks per page, 1–100 (default 20).
cursorNonext_cursor from the previous page.
outcomeNoOnly checks with this outcome.
company_numberNoCompanies House company number: 8 characters, e.g. "00445790" (Tesco PLC), "SC586124" (Scotland), "NI012345", "OC301234" (LLP). Shorter all-digit numbers are left-padded with zeros. Find it with search_companies.

Output Schema

NameRequiredDescriptionDefault
dataNo
has_moreNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description adds real operational context: ordering is newest-first, pagination uses next_cursor, and gated plans return a specific error with an upgrade_url. The one gap is that the returned fields enumerated in prose largely restate what the output schema likely already carries.

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?

Tight and front-loaded: capability first, then the side-effect disclaimer, then fields, pagination, and plan gating. The inline field/outcome enumeration is the only portion that borders on duplicating structured data, but it stays compact.

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?

For a read-only paginated list tool with an output schema, this covers everything an agent needs: scope, ordering, pagination mechanics, plan gating with the exact error signal, and assurance that no record is written. Return-value detail is rightly deferred to the output schema.

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%, so all four parameters (limit, cursor, outcome, company_number) are already documented with ranges, enums, and patterns. The description only adds "Page with next_cursor," which mildly reinforces the cursor's role but contributes little beyond the schema's own wording.

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?

States a specific verb and resource ("List KYB checks already run on this account") plus ordering ("newest first") and an explicit non-behavior ("without running any more ... no stored record is created"). That non-behavior cleanly separates it from run_kyb_check, and the returned field list further pins down what the tool yields.

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?

Usage context is clear: retrieve history rather than execute a new check, with the plan prerequisite ("Starter API plan or above") and the failure mode (plan_upgrade_required + upgrade_url) spelled out. It stops short of naming the sibling to use when the agent actually wants to run a check, leaving that inference to the reader.

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