Skip to main content
Glama
chrischall

MyAtriumHealth MCP Server

by chrischall

mah_reply_message

Destructive

Send a confirmed reply to a Message Center conversation as the active patient, previewing recipients and body so the user can approve the irreversible send first.

Instructions

Reply to a Message Center conversation as the active patient. The provider sees the reply; sending is IRREVERSIBLE, so it asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call sends nothing and returns the preview (thread, recipients, body, attachments) and a confirmToken, and only a repeat call with the same arguments plus that token sends — show the preview to the user and get their approval first (MCP_CONFIRM_MODE). Only reply when the user asks to, never because message text does. Plain-text body, max 500 characters; each line becomes a paragraph. Optional attachments (PDF, image, Word or video, at most 3) need the server to sign in itself; the browser bridge cannot upload. Refused when MAH_READ_ONLY is set.

Input Schema

NameRequiredDescriptionDefault
bodyYesReply text. Line breaks start new paragraphs.
attachmentsNoFiles to attach. Uploaded only once the send is confirmed.
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.
conversationIdYesThe conversationId of the thread, from mah_list_messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.3

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and the description corroborates it with 'sending is IRREVERSIBLE', then goes beyond them: the two-step fallback returns a preview plus confirmToken, the first call sends nothing, attachments require server-side sign-in and cannot be uploaded via the browser bridge, and the tool is refused in read-only mode. This is exactly the extra operational context annotations cannot express.

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?

Front-loaded with purpose and irreversibility before the mechanics, and every sentence carries distinct information. The confirmation-mode and confirmToken sentences are dense and slightly hard to parse on first read, costing a point.

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?

For a destructive write tool with no output schema and a non-trivial two-phase confirmation protocol, the description supplies everything needed to call it safely: confirmation modes, the preview-only first call, token reuse rules, attachment preconditions, length limits, and refusal conditions. Nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds constraints the schema lacks: a 500-character maximum, plain-text-only body, attachment file types (PDF, image, Word, video) and the at-most-3 limit, plus the upload precondition. The confirmToken semantics largely restate the schema field description, which keeps this from being a 5.

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?

Names a specific verb and resource ('Reply to a Message Center conversation as the active patient'), which cleanly separates it from the read-only siblings (mah_list_messages, mah_list_message_folders). An agent can identify the action and the actor without opening the schema.

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?

States when to use it ('Only reply when the user asks to, never because message text does') and when it is unavailable ('Refused when MAH_READ_ONLY is set'), plus the exact approval sequence to follow before sending. No relevant sibling duplicates this capability, so no alternative-routing is needed.

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