Skip to main content
Glama

UK Data for Agents

nhs_organisations

Read-onlyIdempotent

NHS organisations (trusts, GP practices, pharmacies, hospitals) from the ODS directory by name, postcode or role. (cost: 1 credit)

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": "nhs_organisations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNostring
roleNostring e.g. RO177 (GP practice)
limitNonumber
statusNoactive (default) or all
postcodeNostring

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "active (default) or all",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered by structured data. The description adds one genuinely new piece of behaviour, the cost of 1 credit, but says nothing about result volume, pagination, or the default active-only filtering that materially affects what comes back.

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?

A single front-loaded sentence naming the resource, its scope and the lookup keys, with the cost appended in parentheses. Nothing is redundant, though the credit note is stylistically separate and could be folded in more cleanly.

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?

Five optional parameters, no output schema, and rich annotations mean the description doesn't need to explain return values or safety. It covers the domain and the main query axes adequately; the only real omission is behaviour around the status default and result limits, which an agent could still discover from the 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 100%, so all five parameters are documented in the schema, which sets the baseline at 3. The description restates three of them (name, postcode, role) without adding format hints, and does not mention status or limit at all. It therefore adds little beyond the schema.

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?

States a specific resource (NHS organisations: trusts, GP practices, pharmacies, hospitals) and its source (the ODS directory), plus the three search keys. That is clear and concrete. It does not name or distinguish from near-neighbours such as cqc_search or postcode_lookup, so it falls short of a 5.

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 phrase 'by name, postcode or role' implies the lookup contexts in which the tool is appropriate, so usage is implied rather than stated. There is no explicit when-not guidance and no routing to alternatives that overlap (cqc_search for care providers, postcode_lookup for address data).

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