Skip to main content
Glama

DataScoop public data

Get area statistics

get_area_statistics
Read-onlyIdempotent

Free area totals and breakdowns for supported datasets, including CQC care-home lists, food hygiene ratings, restaurant inspections, aged care, carriers, building permits and licences. Rating datasets include published rating shares; permits use construction and demolition categories. Other lists show record counts and type breakdowns, with dates where published. Omit area to list the areas available. Read the returned field names and coverage before comparing areas; cite the page URL returned.

Input Schema

NameRequiredDescriptionDefault
areaNoArea name or slug, e.g. "Leeds" or "leeds". Omit to list areas.
datasetYesDataset id with statistics, e.g. cqc, fsa, fhis-scotland, au-aged-care, us-motor-carriers, us-food-inspections, us-building-permits, us-business-licenses or us-liquor-licenses

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dataset / description
      Previous value: -"Dataset id with statistics, e.g. fsa, fhis-scotland, us-food-inspections, us-building-permits"New value: +"Dataset id with statistics, e.g. cqc, fsa, fhis-scotland, au-aged-care, us-motor-carriers, us-food-inspections, us-building-permits, us-business-licenses or us-liquor-licenses"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already establish that this is a safe, idempotent, closed-world read. The description adds context that the annotations do not cover: the data is free, breakdowns differ by dataset type (rating shares vs construction/demolition categories vs record counts), dates appear only when published, and the page URL returned must be cited. It omits rate limits and pagination, but the additional behavioral and data-quality caveats are useful.

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?

Four sentences, each carrying information: coverage, per-dataset breakdown semantics, how to omit area, and the caveat plus citation. The dataset enumeration is somewhat list-heavy but is front-loaded and directly relevant to coverage expectations.

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?

With only two parameters, no output schema, and full annotation coverage, the definition needs to explain return-value shape and variability. It does this by describing rating shares, type breakdowns, record counts, and dates, and by warning the agent to read field names and coverage first. It does not say what happens on an unknown area or dataset, which is the only material gap.

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 100%, so the schema already documents both parameters, including the 'omit to list areas' behavior and the dataset id examples. The description reinforces that behavior and adds the dataset families, but adds no syntax, format, or slug details beyond the schema. A baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (area totals and breakdowns) and spells out the dataset families covered, e.g. CQC care-home lists, food hygiene ratings, building permits. It does not, however, name the sibling tool query_dataset, or explain how it differs, so an agent must infer the boundary from context.

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

Usage Guidelines3/5

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

The description gives parameter-level guidance: 'Omit area to list the areas available', and the caution to 'read the returned field names and coverage before comparing areas'. It never states when to pick this tool rather than query_dataset or get_dataset_schema, so the choice among siblings is left to inference.

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