Skip to main content
Glama

getSecurityRuleSafeguards

Identify required administrative, physical, and technical safeguards under HIPAA Security Rule to protect electronic protected health information (ePHI) in healthcare applications.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaYes

Implementation Reference

  • The handler function for the 'getSecurityRuleSafeguards' tool, which returns the content of the HIPAA Security Rule safeguards from the loaded knowledge base JSON.
    async () => { return { content: [{ type: 'text', text: hipaaData['hipaa_security_rule'] }] }; }
  • The input schema and description for the 'getSecurityRuleSafeguards' tool (no input parameters required).
    { description: 'Provides a developer-focused guide to the Administrative, Physical, and Technical Safeguards of the HIPAA Security Rule.', schema: z.object({}), },
  • server.ts:94-108 (registration)
    Registers the 'getSecurityRuleSafeguards' tool on the MCP server instance.
    server.tool( 'getSecurityRuleSafeguards', { description: 'Provides a developer-focused guide to the Administrative, Physical, and Technical Safeguards of the HIPAA Security Rule.', schema: z.object({}), }, async () => { return { content: [{ type: 'text', text: hipaaData['hipaa_security_rule'] }] }; } );
  • Loads the hipaa-content.json knowledge base file, which provides the 'hipaa_security_rule' content used by the 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 }

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