Skip to main content
Glama

FileClerk

calculate_deadlines

Destructive

Work out a UK company's first deadlines from its incorporation date, without a company number: first accounts due date (with the Companies Act 2006 s442 rule used), first confirmation statement, and CT600 and Corporation Tax payment dates (estimates; a first period over 12 months gets two CT periods; none for an LLP). kind is ltd, llp or plc. Give period_end_on only when the first period does not end on the default date (last day of the anniversary month), and shortened_on when an AA01 shortened it. Dates are YYYY-MM-DD.

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": {
      "kind": "<kind>",
      "incorporated_on": "<incorporated_on>"
    },
    "name": "calculate_deadlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
shortened_onNo
period_end_onNo
incorporated_onYes

Output Schema

NameRequiredDescriptionDefault
kindYes
accounts_ruleYes
period_end_onYes
accounts_due_onYes
corporation_taxYes
period_start_onYes
statement_due_onYes
statement_made_up_toYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the s442 rule is applied explicitly, CT figures are labelled 'estimates', the >12-month first period yields two CT periods, and LLPs get none. The annotations declare destructiveHint=true and readOnlyHint=false for what the description presents as a pure calculation, but the description itself is not misleading about effects; it simply omits any mention of state change, which a cautious agent would want clarified.

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 core action and outputs are front-loaded, and every clause (LLP exclusion, two-period rule, estimate caveat, default period-end, AA01, date format) carries non-redundant information. The density of parenthetical clauses makes it slightly hard to parse on a single read, but nothing is padding.

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?

An output schema exists, so return values need not be explained; the description instead spends its budget on calculation rules and edge cases, which is the right allocation. For a domain-rules calculator with 4 params, an agent has enough to call it correctly; the only soft spot is the unresolved tension with the destructive annotation.

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?

With 0% schema description coverage, the description carries the full burden and largely meets it: it constrains kind to ltd/llp/plc, explains that period_end_on is only for non-default period ends (default being the last day of the anniversary month), explains shortened_on as an AA01 shortening, and fixes the date format as YYYY-MM-DD. Only incorporated_on's format is left to inference from the general date-format note.

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 ('Work out a UK company's first deadlines from its incorporation date') and enumerates exactly what is returned: first accounts due date, first confirmation statement, CT600 and Corporation Tax payment dates. The qualifier 'without a company number' implicitly separates it from get_company_deadlines, which operates on existing companies.

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?

The 'without a company number' framing plus the incorporation-date-only input makes clear this is the pre-registration / pre-lookup path, distinct from a company-number-based deadlines lookup. It also states exclusion-style conditions ('none for an LLP', two CT periods when the first period exceeds 12 months). It stops short of naming the alternative tool explicitly.

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