Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cs_preflightA

Step 3 of the create workflow. Validates a structured app spec and infers security tier + permissions. Call after drafting spec, before cs_plan. Read cs://spec-schema before calling. Input: { spec: object } Output: { valid, errors, warnings, security_tier, inferred_permissions, needs_app_config }

cs_planA

Step 4 of the create workflow. Stateless confirmation gate — validates spec and returns a confirmation_prompt. Call after cs_preflight. Show confirmation_prompt to user and WAIT for approval before proceeding to cs_manifest. Input: { spec: object } Output: { success, confirmation_prompt, security_tier, warnings }

cs_manifestA

Step 5 of the create workflow. Generates manifest.json in Developer Hub format from a spec. Call after user approves cs_plan output. Read cs://manifest for format reference. Input: { spec: object, base_url?: string } Output: { manifest: object } — write as manifest.json

cs_scaffoldA

Steps 6a-6c of the create workflow. Generates source files by category with directory structure. Call 3 times (infrastructure → routing → locations) after cs_manifest. Read cs://patterns before calling. Input: { spec: object, category: 'infrastructure'|'routing'|'locations' } Output: { category, directories: string[], files: [{ path, content }] } Agent MUST create all directories first, then write files.

cs_analyzeA

Migration workflow step 1. Audits an existing Contentstack app repo against best practices. Call when user wants to audit, migrate, refactor, or fix an existing app. Read cs://maintenance for the checklist. Input: { repo_path: string } Output: { structure_type, framework, sdk_version, venus_version, issues[], migration_needed }

cs_migrateA

Migration workflow step 2. Generates an ordered migration plan from cs_analyze output. Call with the output of cs_analyze. Returns instructions only — does NOT modify files. Input: { analysis: object } (output of cs_analyze) Output: { do_not_change: string[], steps: [...] }

cs_venus_resolveA

Step 7 of the create workflow. Resolves UI element names to exact Venus component names, props, imports, and usage examples. Call after cs_scaffold, before cs_verify. Input: { ui_elements: string[], project_path?: string } Output: { resolutions: VenusResolution[], combined_import: string }

cs_verifyA

Step 8 of the create workflow. Post-generation verification. Audits the scaffolded project for structural, Venus compliance, security, and consistency issues. Call after writing all files. Repeat until passed=true. Input: { project_path: string } Output: { passed: boolean, checks: CheckResult[], fix_instructions: string[] } If passed is false, fix each issue in fix_instructions and call cs_verify again.

Prompts

Interactive templates invoked by user choice

NameDescription
cs_venusLook up the correct Venus component for a UI need. Returns exact component name, JSX with correct props, @ts-ignore pattern if needed, and known gotchas.
cs_workflowSTART HERE. When the user asks to build, create, scaffold, migrate, refactor, audit, or fix any Contentstack app, sidebar widget, custom field, dashboard widget, or full page app — invoke this prompt first. Returns the complete step-by-step workflow.
cs_migrate_checkPre-migration guidance. Analyzes an existing repo and generates an ordered migration plan with verification steps.

Resources

Contextual data attached and managed by the client

NameDescription
UI Location Selection GuideAll 10 UI location types with manifest_type strings, SDK interface, route paths, signal phrases, and cbModal constraints. Read before selecting UI locations.
App SDK Capabilities ReferenceAvailable SDK methods by UI location type, useApi hook patterns, Advanced Settings proxy patterns, and App Config data flow.
Code Patterns & Venus Component ReferenceComplete Venus component decision matrix, all component prop references, TypeScript @ts-ignore fix, boilerplate hooks, and inline picker pattern. Read before generating any UI code.
Manifest.json Format ReferenceDeveloper Hub manifest format for all 10 location types, advanced_settings patterns, webhook, OAuth, and hosting configuration.
Security & Permission Guide4-tier security model, permission strings, configuration vs serverConfiguration, and minimal permissions rule.
Maintenance & Migration Guidecs_analyze checklist (what to check and at what severity), migration order, do-not-change contract, and verification commands.
App Specification SchemaJSON Schema for app specs — all required/optional fields, cross-field validation rules, security tier inference, and examples.

TDQS

A4.1/5.0

Scored across 8 tools

Disambiguation4/5

Each tool has a clearly stated workflow step and distinct purpose; the ordering and input/output contracts make roles mostly unambiguous. Minor overlap exists between cs_preflight and cs_plan (both validate/spec-gate) and between cs_analyze and cs_verify (both audit), but the descriptions distinguish their contexts well.

Naming Consistency4/5

All tools consistently use the cs_ prefix with snake_case names, which is predictable and readable. The stems mix verbs and nouns (e.g., cs_plan, cs_manifest, cs_scaffold, cs_venus_resolve), but the convention remains clear enough for an agent to follow.

Tool Count5/5

Eight tools provide a well-scoped surface for the create and migration workflows without redundancy. Each tool maps to a meaningful phase, and the count sits comfortably in the ideal 3-15 range.

Completeness4/5

The surface covers the core create workflow (validation, planning, manifest, scaffold, component resolution, verification) and migration (analyze, migrate). Minor gaps remain around initial spec drafting/import and deployment or publishing, but the critical generation and audit lifecycle is well covered.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues