Skip to main content
Glama

list_versions

Lists FedRAMP document versions with metadata to track regulatory changes and compliance requirements.

Instructions

List detected FRMR versions and associated metadata from documents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute handler function for the 'list_versions' tool, which calls listVersions() from indexer.ts and wraps the result.
    execute: async () => { return { versions: listVersions() }; },
  • Zod input schema for the tool (empty object, no parameters).
    const schema = z.object({});
  • Import of the listVersionsTool definition.
    import { listVersionsTool } from "./list_versions.js";
  • Registration of listVersionsTool in the tools array passed to registerToolDefs.
    listVersionsTool,
  • Core helper function that extracts and returns version information from indexed FRMR documents.
    export function listVersions(): VersionInfo[] { return getIndexState().frmrDocuments.map((doc) => ({ type: doc.type, version: doc.version, published: doc.published, path: doc.path, })); }

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