Skip to main content
Glama

udf_inspect

Read-only

Reads a user-defined feature's reference prompts and variable dimensions so every required reference can be assigned before placement.

Instructions

Read a UDF's reference prompts (with type: surface, edge, axis, point, csys, curve, quilt, body) and its variable dimensions. Call this before udf_place: every prompt must be given a reference.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes the safety profile, and the description adds meaningful context beyond it: the shape of what is returned (typed reference prompts plus variable dimensions) and the downstream contract that each prompt needs a reference at placement time. It does not cover failure modes such as an unknown UDF name, but the added behavioral context is solid for a read tool.

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, zero waste: the first states what is read, the second states the workflow obligation. The content is front-loaded and the enumeration of prompt types is compact rather than redundant.

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 need no prose, and the low parameter count keeps the description's scope small. Purpose, returned content, and workflow prerequisites are all covered; only the identity semantics of the 'name' argument remain underspecified.

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 description coverage is 0% and the single parameter is a bare 'name' string, so the description carries the burden; it only implies the name identifies the UDF ('a UDF's...'), without clarifying whether it is a library name, group path, or instance identifier. That is marginal added meaning over the schema.

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 names a specific verb ('Read') and two concrete resources: the UDF's reference prompts and its variable dimensions. It even enumerates the prompt types (surface, edge, axis, point, csys, curve, quilt, body), which makes it unambiguous against siblings like udf_place or udf_list.

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?

It gives an explicit ordering constraint: 'Call this before udf_place: every prompt must be given a reference,' which tells the agent both when to use it and why. It stops short of stating when not to use it (e.g., if prompts are already known), so it is strong context rather than a full decision rule.

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