Skip to main content
Glama

PA LogiQ

Does this order need prior authorization?

check_prior_auth_requirement
Read-onlyIdempotent

Partner key required. For a payer, exact plan product, CPT codes, site of service and service date, returns per code: auth_needed, no_auth_needed or check_plan, the reviewing entity (payer or benefit manager), and the cited payer document, page and effective date.

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": {
      "payer": "<payer>",
      "product": "<product>",
      "cpt_codes": "<cpt_codes>",
      "site_of_service": "<site_of_service>",
      "service_date": "<service_date>"
    },
    "name": "check_prior_auth_requirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
payerYes
productYes
cpt_codesYes
service_dateYesYYYY-MM-DD
site_of_serviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral context: a partner key is required for access, and the response is enumerated per code (auth_needed / no_auth_needed / check_plan) along with the reviewing entity and the cited source document with page and effective date.

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 dense sentences with no filler; the access prerequisite is front-loaded and the return shape is enumerated compactly. The telegraphic, comma-spliced phrasing is slightly harder to parse than it needs to be, but nothing is wasted.

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

Completeness3/5

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

There is no output schema, and the description does a decent job enumerating return fields, so an agent knows roughly what comes back. It still leaves gaps on the semantics of the 'check_plan' outcome, on error behavior for an invalid or unknown plan product, and on whether results are per-code only.

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 20% (just the YYYY-MM-DD format on service_date), so the description carries real weight here. It names all five inputs and adds one meaningful qualifier, 'exact plan product', signaling that a fuzzy product name will not work, but it gives no format guidance for cpt_codes, site_of_service, or payer.

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 a specific operation (determine prior-authorization requirement) on a specific resource (a payer plan product for given CPT codes and site/date). It is clearly distinct from get_coverage_scope and get_policy_sources by framing the output as an auth verdict rather than a coverage or document lookup, though it never explicitly names a sibling to differentiate against.

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?

Usage is implied by the input contract: an agent learns it must supply a payer, the exact plan product, CPT codes, site of service and service date. However, there is no explicit when-to-use versus when-not guidance, no mention of what to do when the result is 'check_plan', and no stated prerequisites beyond the partner key.

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