Skip to main content
Glama

SiteCheck Web Intel

NHS England primary-care prescribing for a drug: items

health_openprescribing
Read-only

NHS England primary-care prescribing for a drug (official NHSBSA English Prescribing Dataset, monthly, ~2 months behind; the raw data behind OpenPrescribing.net): items, actual cost (GBP) and quantity, grouped by region, ICB, GP practice or product presentation, largest first. Match on BNF chemical substance or presentation name. Open Government Licence, no key. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "drug": "<drug>"
    },
    "name": "health_openprescribing"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoOnly rows whose ICB or region name contains this text, e.g. manchester (optional)
drugYesDrug name contained in the BNF chemical substance or presentation name, e.g. metformin, atorvastatin, semaglutide (2 to 60 characters)
limitNoHow many groups, 1 to 100 (default 20)
monthNoMonth as YYYYMM, e.g. 202608 (default latest published)
groupByNoregion, icb, practice or presentation (default icb)

Output Schema

NameRequiredDescriptionDefault
areaNo
drugNo
countNo
monthNo
groupsNo
sourceNo
groupByNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds genuinely useful operational context the annotations cannot: ~2-month data lag, Open Government Licence, no API key, results sorted largest first, and a per-call price model ($0.002 per successful call via x402, failures free). That disclosure of paid access is the kind of behavioral detail that matters. Gaps remain on edge behavior, such as what an unmatched drug name returns or any rate/quota limits.

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?

Dense but front-loaded: the purpose and returned measures come first, then the matching key, then operational notes (lag, licence, key, pricing). Every sentence carries information, though the pricing/payment clause is packed into the same block and could be separated for scannability.

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 an output schema present, the description need not explain return shapes, and it covers the hard parts: data freshness, source provenance, licence, cost, currency and sort order. Only minor edge-case behavior (empty matches, invalid month handling) is unaddressed for a tool with 5 parameters and one required field.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all five parameters with examples and defaults, which sets a baseline of 3. The description still clarifies that matching is on BNF chemical substance or presentation name (so substring matching on brand vs chemical is possible) and that grouping granularity and 'largest first' ordering shape results, adding a little meaning beyond the field descriptions.

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 ('NHS England primary-care prescribing for a drug'), names the exact measures returned (items, actual cost GBP, quantity), the aggregation levels, the sort order, and the matching key (BNF chemical substance or presentation name). No sibling overlaps this domain, and an agent knows precisely what it will receive.

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?

Gives clear context for when this is the right source: official NHSBSA English Prescribing Dataset, monthly, ~2 months behind, and it is the raw data behind OpenPrescribing.net. It does not state explicit exclusions or name an alternative for prescription queries, but no sibling covers this domain, so little 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