Skip to main content
Glama

rank_areas_against_great_britain

Read-only

Rank council areas by changes in an industry's share of Great Britain's new companies versus an earlier period, listing only areas with standout evidence.

Instructions

Hotspots: in which council areas did this industry's share of Great Britain's new companies rise (or fall) most, in a period (default the latest four quarters) against an earlier one (see against)? Every area is tested, so the bar for "stands out" is raised to allow for testing hundreds of areas at once. Only areas that stand out are listed, strongest evidence first. Areas without at least 10 companies for certain in both periods aren't tested. Counts include companies dissolved since, so an area isn't made to look like a hotspot by closures in the older period. This doesn't say which area grew fastest: an area missing from the rows may have grown as fast on less evidence. To check one named area, use compare_area_with_great_britain.

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": {
      "sic_codes": "<sic_codes>"
    },
    "name": "rank_areas_against_great_britain"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
againstNoCompare with the same quarters a year before (default; '2026-Q1 to Q3 against 2025-Q1 to Q3'; a period longer than four quarters goes back whole years, e.g. eight quarters against the eight before, so the two never overlap) or with the period of the same length just before. Answers name both periodsyear_before
directionNogrowing
sic_codesYesSIC codes from find_sic: 5 digits, a 2-4 digit group such as '812' for all of it, or a ready-made bundle id such as 'ai-and-data' (approximate). Choose codes for the activity asked about, e.g. cleaning: ['812']; digital and tech: ['62011', '62012', '62020', '62090', '63110', '63120', '58290']; every industry: ['all']. The choice can change the answer, so say which codes you used.
to_quarterNoYYYY-Qn ending the later period; default the last complete quarter
from_quarterNoYYYY-Qn starting the later period; default four quarters before to_quarter's end, so a whole year
include_closedNoTrue (default): count companies registered in each period, including those since dissolved, so an older period isn't shrunk by closures. False: still open only

Output Schema

NameRequiredDescriptionDefault
rowsYes
answerYesThe summary plus both must-quote caveats, ready to pass on as one text.
caveatsYesThe first two are must-quote: include them in any answer.
summaryYesQuote this sentence word for word.
excludedYes
snapshot_dateYes
snapshot_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only annotation, the description discloses the statistical testing burden, the raised significance bar for testing many areas, the minimum-count threshold, and that only standout areas are returned strongest first. It also explains why dissolved companies are counted, preventing closure-driven false hotspots in older periods.

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 description is dense but front-loads the core question and follows with the testing caveats needed to interpret results. It is somewhat long as a single paragraph, but most sentences carry necessary nuance for a statistical ranking tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given output schema exists, the description correctly focuses on interpretation: testing, thresholds, inclusion of dissolved companies, ordering, and the key limitation that a missing area may still have grown quickly on weaker evidence. It also names the sibling tool for a single-area comparison, making the definition complete for this complexity level.

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 coverage is 71%, with against, sic_codes, to_quarter, from_quarter, and include_closed already documented in the schema. The description adds the latest-four-quarters default and points to against, but it does not add meaningful interpretation for parameters such as limit or direction beyond what the schema provides.

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?

The description states a specific analytical operation: ranking council areas by how much an industry's share of Great Britain's new companies rose or fell versus an earlier period. It clearly frames the output as evidence-ranked hotspots, and explicitly distinguishes itself from compare_area_with_great_britain for single-area checks.

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?

It explains the default comparison period, notes that every area is tested, and warns that only standout areas are listed so absence is not proof of slower growth. It directly routes the agent to compare_area_with_great_britain when checking one named area, giving a clear alternative for a different task.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.