Skip to main content
Glama
jamesrosing

tebra-mcp-server

by jamesrosing

Set Primary Patient Case

tebra_set_primary_patient_case
Idempotent

Promote an existing patient case to primary using its case ID from tebra_get_patient, to set the active case for billing and care workflows.

Instructions

Promote an existing patient case to be the primary case, by case ID. Find case IDs via tebra_get_patient (cases[].caseId). Note: this cannot rename a case or change its payer scenario.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patientCaseIdYesTebra patient case ID to promote to primary

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false (mutation) and destructiveHint=false, but the description confirms the mutation intent and importantly clarifies that changes are limited to primary status, not renaming or payer scenario. This adds beyond annotations.

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

Conciseness5/5

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

One concise sentence with clear action, parameter reference, and an exclusions note. Front-loaded with the purpose and usage.

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 a single parameter, full schema coverage, and no output schema, the description provides sufficient guidance: what it does, how to find the ID, and what it can't do. Minor gap: no mention of idempotency or potential side effects, but annotations cover idempotentHint.

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 coverage is 100%, and the description reinforces the parameter's purpose ('to promote to primary') but adds minimal extra meaning beyond the schema's own description. Baseline 3 applies.

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?

Clearly states the verb 'promote' with the resource 'existing patient case' and specifies the operation is by case ID. Distinguishes it from other tools like tebra_update_patient by focusing on setting primary status.

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

Usage Guidelines5/5

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

Explicitly instructs how to find case IDs via tebra_get_patient, providing a concrete usage path. Also lists exclusions (cannot rename or change payer scenario), which helps the agent avoid misusing the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.