Skip to main content
Glama

program_set

Load an edited Pro/PROGRAM listing back into the Creo model and regenerate it; ensure INPUT prompts have defaults to avoid interactive waits.

Instructions

Load an edited Pro/PROGRAM listing (from program_get) back into the model and regenerate.

Do not add INPUT prompts without default values: Creo would wait for interactive input.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "program": "<program>"
    },
    "name": "program_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
programYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the key side effect (regeneration) and the blocking/interactive failure mode, which is genuinely useful, but says nothing about reversibility, whether the existing program is overwritten on failure, required model state, or permissions.

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

Conciseness4/5

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

Two short sentences, action first and hazard second, with no filler. The warning wording is compressed to the edge of ambiguity but still parses, and every sentence earns its place.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, this is a state-mutating tool with zero annotation coverage, one of two parameters undocumented, and no statement of preconditions beyond the INPUT-prompt hazard — a competent but incomplete definition for the risk involved.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It clarifies that program holds the edited listing text from program_get, but the optional file parameter is never mentioned at all — an agent cannot tell whether it is a path to a .pro file, an override, or a fallback source.

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

Purpose4/5

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

States a specific verb and resource: load an edited Pro/PROGRAM listing back into the model and regenerate. It also anchors the input source to the sibling tool program_get, so an agent can place it in the read-then-write workflow without opening another schema.

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

Usage Guidelines4/5

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

The description names the exact precondition (the text comes from program_get) and gives a concrete exclusion-style warning about INPUT prompts lacking default values, which would hang Creo. It stops short of stating error handling or what to do if regeneration fails, so it is clear context rather than full when/when-not guidance.

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