Skip to main content
Glama

get_prior_year_figures

Read-onlyIdempotent

Read last year's figures out of the company's last filed accounts at Companies House, ready to drop into the *Prior fields of check_accounts or save_filing. Saves typing seven numbers from a PDF and gets the comparatives exactly as filed. GB only, and only when the last accounts were filed digitally. Paid tier. Quota-charged; cached results are free.

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": {
      "companyNumber": "<companyNumber>"
    },
    "name": "get_prior_year_figures"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNumberYesThe GB company number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and non-destructive, but the description adds information they cannot carry: this is a paid-tier tool, quota-charged per call, and cached results are free. It also discloses the jurisdictional and digital-filing limitations that determine whether the call will succeed at all.

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?

Three compact sentences, front-loaded with the action and its output, followed by preconditions and cost. The clause about saving seven numbers of typing is mildly promotional but does convey that the values come through as filed rather than recomputed.

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 single-parameter read tool with a 100%-covered schema, the description covers purpose, preconditions and cost model well. The only gap is the return payload: with no output schema, an agent must infer the shape from the passing reference to seven numbers, and nothing says what happens when accounts were not filed digitally.

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 coverage is 100% for the single companyNumber parameter, so the schema carries the load and the baseline would be 3. The description slightly enriches it by constraining the domain to GB company numbers, matching the schema's 'GB company number' wording, but adds no further format or validation detail.

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: read prior-year figures from the last filed accounts at Companies House. It also distinguishes itself from siblings by naming the exact consumer fields (*Prior in check_accounts or save_filing), so an agent knows this is a data-fetch step rather than a filing or computation tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives both the positive case (need comparatives to drop into *Prior fields) and hard preconditions for use: GB only, and only when the last accounts were filed digitally. The routing to check_accounts/save_filing as downstream consumers makes the when-to-use context explicit.

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