Skip to main content
Glama
list_controls.ts748 B
import { z } from "zod"; import { listControlMappings } from "../frmr.js"; import type { ToolDefinition } from "./base.js"; const schema = z.object({ family: z.string().optional(), control: z.string().optional(), source: z .enum(["KSI", "MAS", "VDR", "SCN", "FRD", "ADS", "unknown"]) .optional(), }); export const listControlsTool: ToolDefinition< typeof schema, { mappings: ReturnType<typeof listControlMappings> } > = { name: "list_controls", description: "Return flattened control mappings across FRMR sets.", schema, execute: async (input) => { const mappings = listControlMappings({ family: input.family, control: input.control, source: input.source, }); return { mappings }; }, };

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/ethanolivertroy/fedramp-docs-mcp'

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