Skip to main content
Glama

compare_udts

Compare two UDT definitions to identify added, removed, and changed member names.

Instructions

Compare two UDT definitions.

Args: udt_path_a: First UDT path. udt_path_b: Second UDT path.

Returns: Added, removed and changed member names.

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_a": "<udt_path_a>",
      "udt_path_b": "<udt_path_b>"
    },
    "name": "compare_udts"
  }
}

Input Schema

NameRequiredDescriptionDefault
udt_path_aYes
udt_path_bYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the result shape (added, removed, changed member names), but never states that this is a read-only operation, which path is the baseline for "added" vs "removed" (direction matters for interpretation), or that both UDTs must exist.

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?

The Args/Returns layout is tight, front-loads the one-line purpose, and contains no filler. The parameter lines are near-redundant with the schema, but they cost little.

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?

For a simple two-parameter read tool with an output schema present, purpose plus return summary is close to sufficient. The gaps are the path format and the direction of the comparison, both of which affect correct invocation and interpretation.

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% and the parameters only have titles, so the description must compensate. Instead it restates the parameter names ("First UDT path" / "Second UDT path") without giving the expected path format, hierarchy convention, or an example, leaving the agent to guess what a valid UDT path looks like.

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?

"Compare two UDT definitions" gives a specific verb and resource, which cleanly separates it from list_udts and the other compare_* siblings. It stops short of naming which sibling to use for related needs (e.g., listing UDTs first), so it doesn't reach a 5.

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 when-to-use or when-not-to-use guidance, no prerequisite that both UDT paths must already exist, and no pointer to list_udts for discovering valid paths. The use case is only inferable from the tool name.

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