Skip to main content
Glama

Regulated care locations in England (CQC)

query_uk_care_locations
Read-onlyIdempotent

Every health and social care location regulated by the Care Quality Commission in England — hospitals, care homes, GP practices, dentists, homecare agencies, hospices, ambulance services — with service types, specialisms, provider, address and area, local authority, region, and the date of the latest CQC check. From the official weekly CQC care directory, keyed by the stable CQC location id. Phone numbers are dropped at ingest; registered-manager names are 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
nameNo
pageNo
regionNo
per_pageNo
postcodeNo
provider_idNo
specialismsNo
outward_codeNo
provider_nameNo
service_typesNo
local_authorityNo
website_presentNo
latest_check_date_afterNo
latest_check_date_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?

Annotations already declare read-only/idempotent/closed-world, and the description still adds material behavior: phone numbers are dropped at ingest, registered-manager names are never ingested, 1 credit per call with an API key, and a keyless preview capped at 5 rows / 20 calls per day. Cost, rate limits, and data-completeness caveats are exactly the traits annotations cannot express.

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 the resource, then result fields, provenance, and caveats — each sentence carries content. It is dense and slightly list-heavy, but there is almost 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?

No output schema exists, so the description compensates by enumerating returned fields and the stable CQC location id key. Cost, quota, and data-exclusion caveats are covered; the main remaining gap is the meaning/format of the pagination and niche filter parameters.

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 15 parameters at 0% schema description coverage the description carries the burden, and it only partly does: it clarifies that q searches all text fields and that filters AND together, and lists filterable facets (service types, specialisms, provider, address, local authority, region, latest check date). It says nothing about the semantics of page, per_page, website_present, outward_code, or the accepted values for specialisms/service_types.

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 (query) plus an exact resource (CQC-regulated health and social care locations in England) and enumerates the entity types covered. It is unmistakably distinct from siblings like query_nhs_ods or query_uk_charities, which target different registries.

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 the tool is used mechanically — 'Filters combine with AND; q searches all text fields' — and gives cost/quota conditions for keyed vs keyless calls. It does not, however, tell the agent when to prefer a sibling (e.g., NHS ODS for organisation reference data), so routing guidance 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