Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_projectA

Resolve cq.yaml + CQ_CONFIG_JSON env into a single ResolvedConfig view. Returns project_root, cq_yaml_path, name, cmd, cfg, declared_metrics, output_dir. Read-only — does not create directories or mutate state.

inspect_projectA

Return project structure, entrypoint kind, contract state, and output evidence. Read-only.

validate_projectA

Run static and contract validation before execution. Optional inline ExperimentPlan / ExperimentPlanSet validation. Read-only.

validate_runA

Run post-run validation gates (manifest / metrics / run_summary) on a completed output directory. Read-only.

describe_runA

Return a compact, decision-facts oriented summary of a RunRecord. Includes best/last metrics, validation status, lineage, artifact counts, decision_facts. Read-only.

compare_runsA

Diff two RunRecords (or output dirs). Returns metric deltas, config changes, lineage relation, decision_facts. Read-only.

lineage_chainC

Walk a RunRecord's parent chain. Returns ordered nodes from this run back to its earliest reachable ancestor. Read-only.

apply_planA

Apply ExperimentPlan to project (modifies cq.yaml.configs only — never train.py). Provenance recorded under .pcq/plans/<plan_id>.json. Returns rejected envelope with reason='schema_invalid'|'validation_failed' on bad input.

apply_plansetA

Expand ExperimentPlanSet members into N output directories, each with its own cq.yaml + plan provenance. Returns rejected envelope with reason='schema_invalid'|'validation_failed' on bad input.

init_experimentB

Scaffold a CQ-runnable experiment (cq.yaml + train.py contract script, optionally pyproject.toml + agent runtime assets).

finalize_runC

Generate run_record.json + validation_report.json for an output directory. Walks ancestors to find project root if not provided. Writes to output_dir.

agent_installC

Install pcq agent runtime assets (AGENTS.md / CLAUDE.md managed block, .agents|.claude/skills/pcq/SKILL.md). Optionally write .mcp.json to wire pcq MCP server.

agent_statusA

Inspect pcq agent runtime asset status (installed / missing / stale / divergent / unmanaged) without writing. Read-only.

run_experimentB

Execute cq.yaml.cmd with auto-wired CQ_CONFIG_JSON env. Captures stdout/stderr to .pcq/run_*.log. For long-running GPU training, prefer the CQ service queue.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/playidea-lab/pcq'

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