Skip to main content
Glama

apply_planset

Generate distinct output directories for each experiment plan in a set, including configurations and provenance. Validates input and reports errors with specific reason.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo.
plansetNoInline ExperimentPlanSet dict. Minimal example: { "schema_version": 1, "id": "sweep-001", "intent": "lr sweep", "parent_run_id": "run_baseline", "plans": [ {"id": "exp-000", "changes": [ {"op": "set_config", "key": "lr", "value": 0.01}]}, {"id": "exp-001", "changes": [ {"op": "set_config", "key": "lr", "value": 0.001}]} ] } Required: id, plans (non-empty, each member is an ExperimentPlan).
planset_fileNoPath to ExperimentPlanSet JSON file
output_patternNoPattern using {i} (zero-based index) and/or {plan_id}runs/exp{i}
forceNo
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the expansion behavior and error returns, but lacks details on whether the tool is idempotent, whether it overwrites existing directories, or any required permissions. With no annotations, this is adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff. First sentence conveys core purpose, second adds error behavior. Front-loaded and efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description covers return behavior (error reasons). It lacks details on successful output structure, side effects on existing files, and concurrency considerations. Still fairly complete for a tool of moderate complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 60% (3 of 5 params described). The description adds no additional parameter details; it relies on schema descriptions. For the covered params, it adds no extra meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Expand ExperimentPlanSet members into N output directories') and the resources created ('its own cq.yaml + plan provenance'). It distinguishes from the sibling 'apply_plan' by operating on a planset of multiple plans.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for expanding multiple plans, but does not explicitly state when to prefer this tool over 'apply_plan' or mention prerequisites like having a planset definition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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