Skip to main content
Glama

UK payment practices reports (large companies)

query_uk_payment_practices
Read-onlyIdempotent

Every statutory payment practices report filed by a large UK company or LLP since 2017 — company number and name, reporting period and filing date, average days to pay, the share of invoices paid within 30 / 31–60 / over 60 days, the share not paid within agreed terms and disputed, shortest and longest standard terms, maximum contractual period, and the yes/no policy answers (payment code, e-invoicing, supply-chain finance, supplier-list charges). Latest report and history by company number; from the official GOV.UK export, refreshed daily. Narrative answers are never ingested. Filters combine with AND; q searches all text fields. Costs 1 credit(s) per call with an API key; without one, a preview of up to 5 rows (30 calls/day).

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

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
companyNo
per_pageNo
report_idNo
company_numberNo
filed_on_afterNo
filed_on_beforeNo
period_end_afterNo
period_end_beforeNo
e_invoicing_offeredNo
average_days_to_pay_maxNo
average_days_to_pay_minNo
paid_after_60_days_pct_minNo
not_paid_within_terms_pct_maxNo
not_paid_within_terms_pct_minNo
participates_in_payment_codesNo
supply_chain_financing_offeredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed read, yet the description adds genuinely useful behavioral context beyond them: data provenance ('official GOV.UK export, refreshed daily'), a scope exclusion ('Narrative answers are never ingested'), and cost/auth behavior (1 credit per call, 5-row preview and 30 calls/day without a key). The only gap is return format/pagination, which is minor given the field enumeration.

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 resource, coverage window, and field list are front-loaded, followed by query mechanics, provenance, and cost. It is dense but nearly every clause carries new information; the one long em-dash sentence makes it harder to scan than a short bulleted structure would.

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?

For an 18-parameter tool with no output schema, the description supplies both the dataset's boundaries and an effective picture of the return fields, plus cost and rate-limit behavior. What remains thin is per-parameter guidance on the numeric threshold filters, which an agent must infer from naming.

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 0% across 18 parameters, so the description has to carry the load. It does explain the mechanics agents would most likely get wrong ('Filters combine with AND', 'q searches all text fields') and hints at the meaning of the yes/no policy filters and the day-count/percentage fields, but leaves page, per_page, report_id, and the explicit min/max threshold parameters unexplained.

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?

Names a specific resource (statutory payment practices reports filed by large UK companies/LLPs) and enumerates the exact fields returned: payment period, filing date, average days to pay, invoice-payment bands, disputed shares, standard terms, and yes/no policy answers. This is clearly distinct from siblings like query_uk_companies or query_uk_gender_pay_gap without needing to open a schema.

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?

Provides in-tool usage hints — 'Latest report and history by company number', 'Filters combine with AND', 'q searches all text fields' — but never names an alternative sibling or states when to prefer this dataset over a related one. Usage is implied by the data scope rather than explicitly contrasted with alternatives.

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