Skip to main content
Glama

get_udt_definition

Retrieve a UDT definition with its members and parameters by specifying the UDT type path, so you can inspect the configuration before editing or reviewing tags.

Instructions

Get a UDT definition including members and parameters.

Args: udt_path: UDT type path, e.g. [default]_types_/Equipment/Motor.

Returns: The UDT configuration document.

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": {
      "udt_path": "<udt_path>"
    },
    "name": "get_udt_definition"
  }
}

Input Schema

NameRequiredDescriptionDefault
udt_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 burden, and it does disclose that the result is 'the UDT configuration document' containing members and parameters. It says nothing about behavior on a missing or invalid UDT path, permission requirements, or whether the lookup is project-scoped.

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?

One-line purpose followed by an Args line and a Returns line — front-loaded, zero filler, and each element corresponds to something an agent needs. Slight redundancy with the output schema in the Returns line is the only cost.

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?

This is a simple one-parameter read tool with an output schema, so return values needn't be described in detail; the format example for udt_path covers the main gap. Missing error/precondition behavior is the only meaningful omission.

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 description coverage is 0%, so the description must compensate, and it does by giving a concrete path format example ('[default]_types_/Equipment/Motor'). That example is the key information an agent needs to construct a valid value, though the allowed path grammar is not spelled out.

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?

The description uses a specific verb and resource ('Get a UDT definition') and even scopes the payload ('including members and parameters'), which separates it from the instance-oriented sibling find_udt_instances. It stops short of explicitly naming or contrasting that sibling, so it stops at 4.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives such as find_udt_instances or get_tag_configuration, and no prerequisites or preconditions are given. Usage is only implied by the tool name and the single path argument.

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

Deploy Server

Other Tools