Skip to main content
Glama

PaidMCP — UK & Global Compliance Engine

validate_fhir_ukcore

Read-onlyIdempotent

[validate | $0.06/call] Deterministic HL7 FHIR R4 and NHS England UK Core validator checking Mod-11 NHS Numbers, ODS codes, SDS/GMC/NMC practitioner identifiers, and SNOMED CT/dm+d codings.

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": {
      "resource": "<resource>",
      "profile": "<profile>"
    },
    "name": "validate_fhir_ukcore"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileYesUKCore-Patient
resourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety and determinism profile is largely covered; the description reinforces this with 'Deterministic' and adds the per-call cost. It does not disclose what a validation result looks like, whether errors are fatal vs warnings, or what happens on a non-conforming resource, which matters for a validator.

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 dense sentence, well front-loaded with the action and price, with the checked identifier systems presented as a compact list. Slightly run-on, but no sentence is wasted and the cost signal is operationally relevant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Two required parameters, one a nested free-form object, with zero schema coverage and no output schema — the description explains neither the resource payload expectations nor the profile selection nor the shape of a result. For a validator whose whole value is in its return diagnostics, this leaves real gaps an agent would have to guess at.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the burden, yet it never mentions the 'profile' parameter or its four allowed values (UKCore-Patient, UKCore-Organization, UKCore-Practitioner, FHIR-R4-Base), nor how the free-form 'resource' object should be shaped. 'UK Core validator' hints at the profile concept but adds no actionable meaning.

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 verb ('validate') and a precisely scoped resource domain: HL7 FHIR R4 plus NHS England UK Core, enumerating the identifier systems checked (Mod-11 NHS Numbers, ODS, SDS/GMC/NMC, SNOMED CT/dm+d). That domain specificity implicitly separates it from validate_openapi_31, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not guidance is given — nothing says whether this is for pre-submission gate checks, what a failed validation implies, or when an agent should prefer another validator. The only usage signal is the implied 'feed it a FHIR resource'.

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.