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 (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_care_locations"
  }
}

Input 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
    • 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 declare readOnly/idempotent/non-destructive, but the description adds real behavioral context beyond them: provenance and refresh cadence (official weekly CQC care directory), deliberate ingest omissions that explain absent fields (phone numbers dropped, registered-manager names never ingested), and the credit/rate-limit model including the anonymous preview cap. These are exactly the facts an agent needs to interpret missing data and cost.

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?

It is front-loaded with the dataset scope, then provenance, then the ingest caveats and cost/paging conditions, with no filler. It is dense but the sentences each carry distinct information; a light bulleted structure over the filter list would have improved scanability.

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 15-parameter, no-output-schema search tool this covers scope, source freshness, filter semantics, cost, and truncation behavior, which is most of what an agent needs. The remaining gap is parameter-level disambiguation among the many similarly named filters and the pagination limits, which the description leaves to the bare schema.

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 description coverage is 0% across 15 parameters, so the description carries the burden. It partially compensates by naming the filterable dimensions (service types, specialisms, provider, address and area, local authority, region, latest check date) and explaining q and AND-combination, but it never distinguishes postcode from outward_code, does not explain website_present or the name-vs-q split, gives no allowed values for service_types or specialisms, and says nothing about page/per_page.

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 a specific resource (every CQC-regulated health and social care location in England), enumerates the covered categories (hospitals, care homes, GP practices, dentists, homecare, hospices, ambulance), and lists the returned attributes. An agent can immediately tell this apart from the sibling datasets like query_uk_schools or query_nhs_ods.

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 gives concrete querying guidance: filters combine with AND, q searches all text fields, and results are keyed by the stable CQC location id. It also states the access conditions (1 credit per call with a key; 5-row preview and 30 calls/day without one). It stops short of an explicit when-not-to-use or a named alternative, which keeps it below a 5.

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