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 (20 calls/day).

Input Schema

TableJSON 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
    • addedInput schema / properties / website_present
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (which only cover read-only/idempotent/open-world) by disclosing ingest exclusions (head-teacher names and phone numbers dropped, governors extract never ingested), source freshness cadence (daily GIAS, monthly Ofsted MI), and rate-limit/preview behavior. These are precisely the traits an agent cannot infer from structured fields.

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?

Front-loaded with what the tool returns before covering sources and cost; four sentences with little waste. The field enumeration is long but justified given 22 queryable columns, so it earns its space without being padded.

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 no output schema, the description usefully enumerates returned fields and the Ofsted join, and covers cost and preview limits. It omits pagination semantics for page/per_page and the valid values for categorical filters, which slightly under-serves a 22-parameter tool.

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?

With 22 parameters at 0% schema description coverage, the description must carry the load, but it only clarifies two behaviors (q searches all text fields, AND-combined filters). Many parameters (urn, name, phase, region, status, ofsted_rating, pupils_min/max, date bounds) are self-naming, so 3 is fair, but no enum values or range/format semantics are supplied for fields like phase, status, or website_present.

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 (query the DfE GIAS register of schools/colleges/nurseries) and enumerates the field families it returns, plus the Ofsted join by URN. An agent can distinguish it from sibling query_uk_* tools purely from the description, since it names its two data sources outright.

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?

Explains how filters behave ('Filters combine with AND; q searches all text fields') and the cost/access model (1 credit with API key, otherwise a 5-row preview at 20 calls/day), which is real invocation guidance. It stops short of explicitly naming when to prefer or avoid this tool versus alternatives, but the sibling set is domain-disjoint so the gap is small.

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