Skip to main content
Glama

Schools and colleges in England (GIAS + Ofsted)

query_uk_schools
Read-onlyIdempotent

Every school, academy, college and nursery on the Department for Education register (Get Information About Schools) — URN, name, type and phase, open/closed status, local authority and region, address and postcode, website, capacity and pupils on roll, age range, and the academy trust — joined by URN to the latest published Ofsted inspection outcome and inspection date. From the official daily GIAS extract and Ofsted’s monthly inspection management information. Head-teacher names and telephone numbers are dropped at ingest; the governors extract is never ingested. Filters combine with AND; q searches all text fields. Costs 1 credit(s) per call with an API key; without one, a preview of up to 5 rows (30 calls/day).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_uk_schools"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
urnNo
nameNo
pageNo
townNo
phaseNo
regionNo
statusNo
per_pageNo
postcodeNo
pupils_maxNo
pupils_minNo
trust_nameNo
outward_codeNo
ofsted_ratingNo
local_authorityNo
open_date_afterNo
website_presentNo
open_date_beforeNo
establishment_typeNo
ofsted_last_inspection_afterNo
ofsted_last_inspection_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / properties / website_present
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add data-quality context — and it does: head-teacher names and phone numbers are dropped at ingest, and the governors extract is never ingested, so an agent knows certain fields will simply be absent. It also discloses cost and throttle limits and the freshness cadence of each source, which is unusually strong disclosure beyond the annotations.

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?

One dense paragraph, front-loaded with the dataset identity before provenance, exclusions, filter semantics and pricing. Every clause carries information; it could be split into scannable sentences for filter and pricing rules, but there is no filler.

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 22-param tool with no output schema, the description usefully enumerates what comes back (URN, type, phase, status, LA/region, address, website, capacity, roll, age range, trust, Ofsted rating and date). What's missing is parameter value vocabulary and any note on pagination/result metadata beyond the schema's page/per_page defaults.

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?

This is the weak point: 22 parameters at 0% schema description coverage, with no enums at all. The description explains q (all text fields) and AND-combination, and the field list indirectly glosses some params ('open/closed status' for status, 'local authority and region', 'capacity and pupils on roll' for pupils_min/max, 'the academy trust' for trust_name). But it never discloses value vocabularies for phase, establishment_type, ofsted_rating, status or website_present, and never mentions outward_code at all, so several filters remain guesswork.

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 names the exact resource (every school, academy, college and nursery on the DfE GIAS register), its joins (Ofsted inspection outcome by URN), and its provenance (daily GIAS extract, monthly Ofsted MI). The enumerated field list makes it unambiguously distinct from sibling datasets such as query_uk_care_locations or query_uk_charities. An agent can decide relevance without opening the schema.

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?

It tells the agent how filters behave ('Filters combine with AND; q searches all text fields') and gives cost/access rules (1 credit per call with key, 5-row preview and 30 calls/day without). It stops short of explicit when-to-use/when-not guidance versus sibling query tools, but the domain scoping makes the choice largely self-evident.

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