Skip to main content
Glama

evaluateComplianceNeed

Determine if your healthcare application requires HIPAA compliance by analyzing data handling practices and identifying protected health information (PHI) usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaYes

Implementation Reference

  • server.ts:34-48 (registration)
    Full registration of the 'evaluateComplianceNeed' MCP tool, including description, empty input schema, and inline handler that returns HIPAA compliance decision text from the loaded hipaaData.
    server.tool( 'evaluateComplianceNeed', { description: 'Provides a decision flowchart and examples to determine if an application needs to be HIPAA compliant. Use this before starting any development.', schema: z.object({}), }, async () => { return { content: [{ type: 'text', text: hipaaData['do_i_need_to_be_hipaa_compliant?'] }] }; } );
  • Loads the hipaa-content.json file into hipaaData object, which provides the content returned by the evaluateComplianceNeed tool handler.
    const knowledgeBasePath = path.join(process.cwd(), 'hipaa-content.json'); let hipaaData; try { hipaaData = JSON.parse(fs.readFileSync(knowledgeBasePath, 'utf-8')); console.log('✅ HIPAA knowledge base loaded successfully'); } catch (error) { console.error(`FATAL ERROR: Could not load knowledge base from ${knowledgeBasePath}.`); console.error('Please ensure the hipaa-content.json file exists in the same directory.'); console.error('Error details:', error); process.exit(1); // Exit if the core data is missing }
  • Schema definition for the tool: empty object (no input parameters).
    { description: 'Provides a decision flowchart and examples to determine if an application needs to be HIPAA compliant. Use this before starting any development.', schema: z.object({}), },
  • server.ts:40-47 (handler)
    Handler function: returns a text content block with the key 'do_i_need_to_be_hipaa_compliant?' from hipaaData.
    async () => { return { content: [{ type: 'text', text: hipaaData['do_i_need_to_be_hipaa_compliant?'] }] }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eludden35/hipaa-guardian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server