Skip to main content
Glama

idt__EnableUnitType

Activates specified unit types by ID for an application, applying their instance data and returning the successfully affected entries.

Instructions

[IDT] 根据对象ID生效对应实例数据,返回成功条目数据

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

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one useful behavioral trait – it returns only the successfully processed entries ('返回成功条目数据'), implying partial-success batch semantics – but says nothing about required permissions, idempotency, side effects on already-active records, or error behavior for invalid IDs.

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?

A single compact sentence with no filler, and the action-plus-key information is front-loaded. It is efficient, though the extreme brevity borders on under-specification rather than crispness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation tool with a nested params object, no annotations, and no output schema, yet the description is one line. The hint about returning successful entries partly compensates, but permission requirements, idempotency, and the meaning of the non-ID parameters remain undocumented.

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 coverage is 67%, so most parameters are at least labelled. The description's '根据对象ID' reinforces that the `ids` array is the enablement key, but it adds nothing about `appName`, `applicationId`, `modifier`, or `lastUpdateTime`, leaving the agent to rely on the terse schema descriptions for the rest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('生效' / activate) and ties it to input object IDs, which tells the agent this is an enable-by-id operation. However, the resource is stated only as '对应实例数据' (corresponding instance data), so the agent must infer from the tool name that the target is a unit type rather than measuring units or other entities.

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 guidance on when to use this versus the many siblings, including the obvious counterpart disable operation (e.g. idt__DisableMeasuringUnit) or update/patch alternatives like idt__UpdateUnitType. No prerequisites, no exclusions, no note about whether already-enabled records are re-processed.

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