Skip to main content
Glama

Health authorization check

wever_health-authorization-check
Read-only

Agent Healthcare: submit a prior authorization with the order as written: the authorization with its number, status (approved, partially approved, pending or denied), the service as authorized, the codes as authorized, the visits or units authorized, the dates it is valid from and through, the site of service as authorized (office, outpatient hospital, inpatient hospital, ambulatory surgery center, imaging center, laboratory, home, telehealth or other) and the provider; the order with the day ordered, the service as ordered, the codes, the visits or units ordered, the day the service is planned, the site of service and the provider. The signed report gives the authorization, the order with its service read as matching or differing, the ordered codes the authorization does not list and the authorized codes the order does not name, the visits or units on each side, the planned day against the validity dates, and the site on each side, and counts them, and names a mismatched authorization: an authorization that reads denied or pending, an ordered code it does not list, more visits or units ordered than authorized, a planned day outside the validity dates and a site of service unlike the order; then an authorized code the order does not name, a service named otherwise and a provider unlike the order, with the fix for each and what would change the verdict. No status, codes missing on either side, ordered units the authorization does not state, no validity dates, validity dates with no planned day, or a site on one side only leaves the authorization unverified. Validity that ends before it starts is refused. Codes match by their letters and digits. This reads the authorization paperwork against the order: wever_delegation-check reads an agent’s own delegation or mandate for its grantee, scope, caps and expiry, not a care authorization, and wever_insurance-coverage-check reads whether a policy covers an activity, which the authorization check never weighs: it reads what the authorization states against what the order states. Verdict health_authorization_mismatched, health_authorization_partial, health_authorization_unverified or health_authorization_aligned. POST /api/health-authorization-check. Reads the care paperwork supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads paperwork consistency only, with no diagnosis, clinical reading of results, medical necessity judgment or treatment advice, and the paperwork stays in the report, with no network request, fetch, message, payment or external write. Agent Healthcare reads supplied care paperwork after the fact and checks it for consistency against the related records and the summary given to the patient or principal: an itemized bill, a claim as submitted, a prior authorization, a referral, a prescription record and label, a discharge summary, a lab report and an after-visit summary. Beside it, the Agent Insurance checks such as wever_insurance-coverage-check read insurance policies and coverage, what a policy covers, excludes and limits, and where the question is what a policy covers, that is the insurance family’s read, not a healthcare check’s; wever_insurance-evidence-check reads a counterparty’s insurance certificate or policy excerpt for DiligenceOps; wever_callback-health-monitor probes a service’s HTTPS callback endpoint for uptime and reads no care document; and the Agent Consent checks such as wever_consent-scope-check read agent permission and consent records for data handling, not medical consent forms or care documents, while a healthcare check reads no agent permission. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-healthcare-contract. Human page: https://weverlabs.com/agent-healthcare/.

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": {
      "authorization": "<authorization>",
      "order": "<order>"
    },
    "name": "wever_health-authorization-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
orderYes
authorizationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses the verdict set, the conditions that leave a result unverified or refused, the Ed25519 signed receipt output, no-network/no-write guarantees, and the x402 price plus wallet-proof binding requirement. That is materially more than the annotations carry.

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

Conciseness2/5

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

The description is a single multi-hundred-word run-on with repeated cross-family explanation (healthcare, insurance, consent, callback) and duplicated enumerations of site and status values already present in the schema. It is badly front-loaded: the core submit-and-compare action is buried before the alternatives and the family preamble.

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

Completeness5/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 fully specifies the return: verdict, evidence read, findings with fixes, what would change the verdict, and a signed receipt. Combined with the nested-object input schema and the enumerated verdicts, nothing an agent needs in order to call this correctly is missing.

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 only 33%, so the description does useful work by naming the authorization and order fields (number, status, service, codes, units, validity dates, site, provider, ordered/planned day) and by adding the matching rule 'Codes match by their letters and digits' and the validity-ordering refusal. However, much of that field list restates labels the schema already supplies, and the optional 'label' parameter is never mentioned, so it only partly compensates for the coverage gap.

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 states a concrete verb and resource: it reads an authorization's stated terms against an order as written and returns a verdict-bearing signed report. It explicitly separates itself from wever_delegation-check, wever_insurance-coverage-check, wever_consent-scope-check and wever_callback-health-monitor, so an agent can route without opening either schema.

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?

It names the alternatives it is not and the boundary conditions ('what a policy covers ... is the insurance family's read, not a healthcare check's'), which gives strong routing guidance. It stops short of an explicit 'use this when you have an authorization and an order to reconcile' trigger sentence — that is only implied by the first clause.

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