Skip to main content
Glama
gsampaio-rh

NHS MCP Server

by gsampaio-rh

Search Prescriptions

prescriptions_search

Search NHS prescribing data to find prescription records by drug name, BNF code, practice code, or time period, returning dispensed items, quantities, and costs.

Instructions

Search NHS prescribing data from the English Prescribing Dataset (EPD). Find prescription records by BNF code, drug name, practice code, or time period. Returns items dispensed, quantities, and costs. At least one search parameter should be provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of records to return (default 20, max 100)
bnf_codeNoBNF code to filter by (e.g., '0407010H0' for Paracetamol). Supports partial codes for broader category searches.
drug_nameNoFree-text search for drug name (e.g., 'Paracetamol', 'Amoxicillin')
year_monthNoYear and month in YYYYMM format (e.g., '202401' for January 2024)
resource_idNoSpecific EPD resource ID to query. If not provided, uses a default dataset. Use datasets_metadata on 'english-prescribing-data-epd' to find available resource IDs.
practice_codeNoGP practice code to filter by (e.g., 'A81001')
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It states what the tool returns and imposes a parameter requirement, but it does not disclose default dataset behavior, pagination, error handling, or explicitly confirm it's read-only. Some behavioral traits are implied (search implies read) but not fully specified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no redundant information. It front-loads the purpose and immediately adds the key usage constraint and return details. Every sentence contributes value.

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?

Given there is no output schema, the description adequately indicates the return fields (items dispensed, quantities, costs). It also mentions the parameter requirement and available filters. However, it does not describe the list/response structure in more detail or note the default dataset and paging behavior, though some of that is in the schema. It is sufficient for a straightforward search tool but not exhaustive.

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 the baseline is 3. The description adds a high-level grouping of search parameters ('BNF code, drug name, practice code, or time period') but does not add significant depth beyond the schema's per-parameter descriptions. The constraint on providing at least one parameter is a useful addition.

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 clearly states the verb 'Search' and the specific resource 'NHS prescribing data from the English Prescribing Dataset (EPD)'. It enumerates the filters (BNF code, drug name, practice code, time period) and return fields (items dispensed, quantities, costs), which distinguishes it from sibling tools like spending trends or cost analysis.

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?

The description provides clear context on when to use the tool: to find prescription records. It also gives an explicit usage constraint ('At least one search parameter should be provided'). However, it does not explicitly mention alternatives or when not to use this tool, leaving some ambiguity relative to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gsampaio-rh/nhs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server