Skip to main content
Glama

udf_list

Read-only

List available UDF (.gph) files by name from the project udfs/ folder and Creo sample libraries, using wildcard patterns such as "hole" to locate specific user-defined features.

Instructions

List UDF files (.gph) available by name: the project's udfs/ folder, then Creo's sample libraries. pattern supports wildcards, e.g. "hole".

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": "udf_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternNo*

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine value by disclosing the search order and result sources (project udfs/ folder, then sample libraries), but says nothing about whether duplicates or shadowed names are reported, whether the session must be connected, or result ordering across sources.

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: the capability and search scope first, then the pattern semantics. Every clause carries information an agent needs, with no filler.

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?

For a simple read-only lister with an output schema present (so return values need not be described), the description covers what is listed, where results come from, and how the filter works. Only inter-tool routing against udf_list_groups and udf_inspect is left unaddressed.

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

Parameters4/5

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

Schema coverage is 0% and the single 'pattern' parameter is documented only as a string with default '*'. The description compensates by explaining that pattern accepts wildcards and giving a concrete example ('*hole*'), which is meaning the schema does not provide.

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 ('List UDF files (.gph)') and adds scope detail: the project's udfs/ folder is searched before Creo's sample libraries. It does not differentiate itself from nearby siblings such as udf_list_groups or udf_inspect, so an agent must infer which listing tool to use.

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?

Usage is only implied — an agent can infer this is the discovery step before udf_inspect or udf_place, but the description never says so or names an alternative. No when-not-to-use or prerequisite context is given.

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