Skip to main content
Glama

Submit Consent

consent_submit
DestructiveIdempotent

Record a patient's consent confirmation for a specific consent document. The agent must have already presented the full consent text (from consent_text) to the patient and received explicit confirmation. Required parameters: intake_id, consent_id, the patient's exact confirmation text (e.g. 'I agree'), consent method ('ai_agent_conversational'), the AI platform name ('chatgpt', 'claude', 'gemini'), and a session/conversation ID for audit trail. Returns a consent record with timestamp, audit trail details, and the list of remaining consents still needed. All consent records are retained for 10 years per HIPAA requirements. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intake_idYesIntake ID this consent belongs to
timestampNoISO 8601 timestamp of consent confirmation
consent_idYesConsent document ID being confirmed
bearer_tokenNoAuthentication token for the patient session
agent_platformNoAI platform name: 'chatgpt', 'claude', or 'gemini'
consent_methodNoMethod of consent collectionai_agent_conversational
agent_session_idNoUnique session/conversation ID for audit trail
patient_confirmationYesPatient's exact confirmation text (e.g. 'I agree')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

With annotations already indicating readOnlyHint=false, idempotentHint=true, and destructiveHint=true, the description adds valuable context beyond those: 'All consent records are retained for 10 years per HIPAA requirements' and 'Requires authentication.' It also describes the return value (record with timestamp, audit trail details, remaining consents). This provides a more complete behavioral picture without contradicting the annotations, so it earns a 4.

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 description is a single paragraph composed of four sentences. The first sentence clearly states the primary action, and subsequent sentences add prerequisites, required parameters, return value, and compliance requirements. Although it's slightly longer than a two-sentence ideal, every sentence provides essential operational context with no filler. It is front-loaded with the purpose, making it efficiently scannable.

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?

Given the tool has 8 parameters, a true output schema, and annotations, the description covers all critical operational aspects: when to use it (after consent_text), what parameters are essential, what it returns (consent record with timestamp, audit trail, remaining consents), legal retention (10 years), and authentication. It does not delve into parameter-by-parameter syntax, but the schema covers that. This is a high-degree of completeness for a moderately complex tool.

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?

The schema already covers 100% of parameters with descriptions, giving a baseline of 3. The description enriches this by explicitly listing required params and providing concrete examples: 'patient's exact confirmation text (e.g. 'I agree'), consent method ('ai_agent_conversational'), the AI platform name ('chatgpt', 'claude', 'gemini')'. It also clarifies the meaning of patient_confirmation as 'exact' text, surpassing the schema's simple 'Patient's exact confirmation text'. This adds practical value, so a 4 is justified.

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 opens with a specific verb+resource: 'Record a patient's consent confirmation for a specific consent document.' It clearly distinguishes from sibling tools like consent_list and consent_status by stating this is the submission/recording action. It also specifies the required preparatory context (presenting consent_text and receiving explicit confirmation), making the tool's role unmistakable.

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?

The description explicitly states the prerequisite: 'The agent must have already presented the full consent text (from consent_text) to the patient and received explicit confirmation.' This tells the agent when to use the tool. It references consent_text as the source of the text, implying that consent_submit is the follow-up step. However, it does not explicitly exclude alternative tools or list when-not-to-use scenarios, so it falls short of a perfect 5.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Every tool targets a distinct resource and action within the telehealth workflow: auth, consent, eligibility, intake, medications, checkout, order, portal, and provider communication. Even the multiple medication tools (list, details, availability, pricing) have clearly separated purposes, and there is no overlap among the 34 tools.

Naming Consistency5/5

All tool names follow a consistent `domain_verb` or `domain_noun` snake_case pattern, prefixed by their domain (auth_, checkout_, consent_, intake_, medications_, order_, portal_, provider_). There are no mixed conventions or vague verbs, making the API predictable and easy to navigate.

Tool Count2/5

With 34 tools, the server exceeds the 25+ threshold for 'too many' and feels fragmented. Many tools could be consolidated (e.g., medication pricing and availability could fold into details, and consent list/status could be combined). While the scope is broad, the count is excessive for a well-scoped MCP server.

Completeness4/5

The tool surface covers the full patient lifecycle from authentication and consent through eligibility, intake, checkout, order management, and post-order portal features. Minor gaps include lack of order cancellation or order listing, and no explicit intake update mechanism, but these are workable and do not block core workflows.

Resources