Skip to main content
Glama

Denied as not medically necessary

medical_necessity_denial
Read-onlyIdempotent

A denial that says the care was not medically necessary: the appeal path and deadline for the plan type, the rule that the appeal considers new evidence (such as a letter from the person's doctor), the right to the claim file, and a draft appeal built for this reason. It does not judge whether the care was necessary. Example questions: insurance says it's not medically necessary; how to fight a medical necessity denial; what to put in an appeal for a necessity denial.

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": {
      "plan_type": "<plan_type>"
    },
    "name": "medical_necessity_denial"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNopre_service = prior authorization, post_service = a claim for care already given, concurrent = ongoing care being cut
urgentNoTrue only if the person or their doctor says waiting could seriously harm their health. Never infer it.
plan_typeYes
letter_dateNoDate printed on the letter, if the reader missed it
received_dateNoDay the person actually received the letter, if they say

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value by listing the four outputs it produces and disclaiming that it evaluates medical necessity, but it says nothing about how the deadline is derived, what happens with missing stage/urgent inputs, or how authoritative the draft is.

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?

The definition is front-loaded with the denial type, then the deliverable list, then the scope disclaimer, then examples — a logical order. The four-item list is dense but every item is informative; the example questions are useful routing aids rather than filler.

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 carries the burden of describing results, and it does so by naming the four things produced. For a five-parameter, read-only advisory tool this is nearly complete; only the parameter roles (plan_type required, urgent never inferred) are left unaddressed.

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 80%, so most parameters are self-documenting, and the baseline of 3 applies. The description adds no meaning beyond the schema: it never mentions plan_type (the only required parameter), the stage enum, or the strictly non-inferred urgent flag, so an agent must read the schema for all invocation-relevant detail.

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?

The description states the specific resource (a denial whose reason is 'not medically necessary') and enumerates exactly what the tool returns: appeal path and deadline by plan type, the new-evidence rule, claim file right, and a draft appeal. That is concrete and distinguishes it from a generic denial tool, though it never names an overlapping sibling such as appeal_deadlines or draft_insurance_appeal_letter to sharpen the boundary.

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?

Three example questions ('insurance says it's not medically necessary', 'how to fight a medical necessity denial') give clear positive triggers, and 'It does not judge whether the care was necessary' is an explicit scope exclusion. What is missing is any pointer to alternatives when the denial is for a different reason or when the user only wants a deadline or a standalone letter.

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