Skip to main content
Glama

FileClerk

validate_accounts

Destructive

Check UK company iXBRL accounts (micro-entity, dormant or small, FRS 102 / FRS 105) before filing with Companies House. Pass the whole XHTML file as text (up to 10 MB). Returns one finding per check, the Companies House accounts rules and the company's register record (number, name, status, period end), each reject, risk, not_evaluated or pass with its rule. reject means Companies House rejects it (the V checks are confirmed on its test validator; the R checks find the company missing, closed or under another name); risk means the TIS requires it but rejection is not confirmed. The file is never stored. FileClerk is independent, not part of HMRC or Companies House.

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": {
      "ixbrl": "<ixbrl>"
    },
    "name": "validate_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
ixbrlYes

Output Schema

NameRequiredDescriptionDefault
levelYes
companyYes
findingsYes
registerYes
checked_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive and open-world behavior, yet the description adds substantial context: the file is never stored, findings are returned one per check with the governing Companies House rules and register data, and the reject/risk/not_evaluated/pass severity taxonomy is defined. The one loose end is the destructiveHint=true, which sits uneasily with a non-storing 'check' operation and is never reconciled in the text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: purpose first, then input format and size limit, then output shape and severity semantics. Every sentence carries operational information; the closing independence disclaimer is the only sentence that could be trimmed.

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?

Even though an output schema exists, the description still explains the finding structure and severity meanings, which is useful for interpreting results. Combined with the input format, size limit and data-handling note, an agent has what it needs to call the tool and read the answer; only the destructive flag and cost/latency expectations go unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter is undocumented in the schema (0% description coverage), but the description compensates: it says to pass the whole XHTML file as text and sets an explicit 10 MB ceiling. That is the essential semantic an agent needs for this parameter, so it rises above the 1-param baseline.

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 with scope: 'Check UK company iXBRL accounts (micro-entity, dormant or small, FRS 102 / FRS 105) before filing with Companies House.' The subject matter, supported account types and framework variants make it clearly separable from siblings such as prepare_accounts, read_scanned_accounts and submit_accounts.

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?

'before filing with Companies House' establishes the point in the workflow where this tool belongs, which is clear context. It stops short of explicit exclusions or naming alternatives (e.g. what to use for PDF/scanned accounts, which is presumably read_scanned_accounts), so the agent must infer the routing.

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