Skip to main content
Glama

program_get

Read-only

Retrieve a Creo model's Pro/PROGRAM listing—features, dimensions, INPUT/RELATIONS/IF blocks—for review and editing before applying design-logic changes.

Instructions

Return the model's Pro/PROGRAM listing: features, their dimensions, INPUT/RELATIONS/IF blocks.

Edit the text and send it back with program_set to change the design logic.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "program_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description adds real value by disclosing that the output is editable text forming a round-trip with program_set. It does not discuss whether the listing reflects unsaved state, but given the read-only annotation and an existing output schema the remaining burden is low.

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 short sentences, front-loaded with the return contents and followed by the actionable workflow hint. No filler or restatement of the tool name.

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?

An output schema exists, so return values needn't be documented, and the description characterizes the listing well. The only gap is the meaning and default behavior of the 'file' argument, which matters for correct invocation.

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 coverage is 0% for the single 'file' parameter, and the description never mentions it. An agent cannot tell from the definition whether 'file' selects a part by name or defaults to the active model, so the description fails to compensate for the schema gap.

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?

States a specific verb ('Return') and a concrete resource ('the model's Pro/PROGRAM listing') and enumerates the contents (features, dimensions, INPUT/RELATIONS/IF blocks). It also names the sibling program_set as the counterpart for modification, so the agent can distinguish the two without opening either 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 second sentence makes the workflow clear: read here, edit the text, then send back via program_set. That covers when to use this tool and which alternative handles the write path, though it doesn't state preconditions (e.g., whether a model must be open) or when reading the program is unnecessary.

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