Skip to main content
Glama

AI Agent Template MCP Server

by bswa006

create_token_optimizer

Generate tiered context files for token optimization with ROI tracking. Input project path, select context tiers, track usage, and produce metrics for enhanced code management.

Instructions

Create tiered context files for token optimization with ROI tracking

Input Schema

NameRequiredDescriptionDefault
analysisIdNoAnalysis ID from analyze_codebase_deeply
generateMetricsNoGenerate ROI metrics report
projectPathYesPath to the project directory
tiersNoWhich context tiers to generate
trackUsageNoEnable token usage tracking

Input Schema (JSON Schema)

{ "properties": { "analysisId": { "description": "Analysis ID from analyze_codebase_deeply", "type": "string" }, "generateMetrics": { "description": "Generate ROI metrics report", "type": "boolean" }, "projectPath": { "description": "Path to the project directory", "type": "string" }, "tiers": { "description": "Which context tiers to generate", "items": { "enum": [ "minimal", "standard", "comprehensive" ], "type": "string" }, "type": "array" }, "trackUsage": { "description": "Enable token usage tracking", "type": "boolean" } }, "required": [ "projectPath" ], "type": "object" }

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/bswa006/mcp-context-manager'

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