Skip to main content
Glama

Photon Health MCP by usefulapi

List prescriptions

photonhealth_list_prescriptions
Read-onlyIdempotent

List the organization's prescriptions, filterable by patient, prescriber and state (ACTIVE, EXPIRED, DEPLETED, CANCELED). Each has the medication, quantity, refills/fills remaining, directions, diagnoses and fills. Photon GraphQL: prescriptions.

Input Schema

NameRequiredDescriptionDefault
afterNoCursor: the id of the last item of the previous page.
firstNoPage size (forward pagination).
stateNoPrescription state.
patient_idNoOnly this patient's prescriptions (pat_…).
patient_nameNoFilter by patient name.
prescriber_idNoOnly prescriptions written by this prescriber (Photon user id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds useful detail about what each returned prescription contains, but says nothing about auth, rate limits, or pagination behavior on top of the annotations.

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?

Two tight sentences with the resource and filters front-loaded. The trailing 'Photon GraphQL: prescriptions' mapping is slightly redundant but arguably useful as an API anchor.

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 no output schema, the description helpfully enumerates returned fields (medication, quantity, refills, directions, diagnoses, fills), filling the main gap. Pagination is only implicitly conveyed via the schema's cursor params, which is a minor omission.

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 schema fully documents all six parameters including pagination cursors and enum values. The description only restates the filter categories and enum states, adding no syntax or format meaning beyond the schema.

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 (List) and resource (organization's prescriptions) with the supported filters, cleanly separating it from the singular sibling photonhealth_get_prescription.

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 filters (patient, prescriber, state) imply the usage context but the description never says when to prefer this over get_prescription or search tools, nor any exclusions. Usage 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.