Skip to main content
Glama

FileClerk

check_company_size

Destructive

Is a UK company micro, small, medium or large for its accounts? Uses the limits for financial years beginning on or after 6 April 2025 (two of three: turnover, balance sheet total, average monthly staff), the two-year rule (give last_year, or first_year: true; and last_size when one year meets a limit and the other misses it), and pro-rates turnover by months. Returns the size, what it may file, and whether it is exempt from audit, each with its Companies Act section. Money in whole pounds. Nothing is stored.

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": {
      "this_year": "<this_year>"
    },
    "name": "check_company_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNo
excludedNo
last_sizeNo
last_yearNo
this_yearYes
first_yearNo

Output Schema

NameRequiredDescriptionDefault
sizeYes
auditYes
linesYes
yearsYes
excludedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior2/5

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

The description asserts 'Nothing is stored' and reads as a pure stateless calculation, while annotations declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=false — the safety profile an agent reads is the opposite of what the text implies. Beyond that conflict, the text does add genuine behavioral value: the 6 April 2025 limits, the two-year rule, turnover pro-rating and Companies Act citations.

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 question being answered, then the rule set, then the return shape — a sensible order with no filler. The nested parenthetical clauses make it dense and slightly hard to parse on first read, but no sentence is wasted.

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 a 6-parameter tool with nested objects it covers the legally decisive details (which financial years, the two-of-three test, the two-year transition rule) and briefly characterizes the return value even though an output schema exists. The gaps are the undocumented group/excluded flags and default handling when months is omitted from this_year.

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?

Schema description coverage is 0%, so the description carries the load, and it does for most inputs: it defines the three measures (turnover, balance sheet total, average monthly staff), the role of months in pro-rating turnover, whole-pound units, and the conditional use of last_year, first_year and last_size. It says nothing at all about the group and excluded booleans, leaving 2 of 6 parameters unexplained in both schema and description.

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 question the tool answers: classifying a UK company as micro/small/medium/large for accounts. The verb+resource is unambiguous and clearly distinct from the sibling calculate_* and check_* tools, which address filing, tax, penalties or deadlines rather than statutory size thresholds.

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?

Gives concrete invocation conditions: pass last_year, or first_year: true, and last_size only when one year meets a limit and the other misses it; it also explains the two-of-three test and month pro-rating. It stops short of explicitly excluding adjacent tools (e.g. check_2028_filing, get_company_finances), but the domain is narrow enough that misuse is unlikely.

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