Skip to main content
Glama

idt__PatchCreateLegalValue

Batch-create legal values for a specified application by submitting multiple entries, each with type, English name, and value.

Instructions

[IDT] batchCreate

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__PatchCreateLegalValue"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: no batch-size limits, no atomicity/partial-failure behavior, no permission or tenant requirements, no indication of what is returned or whether duplicate names/values are merged or rejected. "batchCreate" alone is insufficient for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words with zero waste, but brevity here is under-specification rather than concision; there is no front-loaded explanation of the operation, scope, or batch semantics that an agent would need before calling it.

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

Completeness1/5

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

For a mutation tool taking a nested array of legal-value objects, with no annotations and no output schema, the definition should state batch limits, required-vs-optional field behavior, and failure semantics. None of that is present, leaving the definition wholly inadequate for the tool's complexity.

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?

The schema documents most nested fields (nameEn, value, legalValueType, tenant, timestamps) at ~67% coverage, but the description adds no meaning beyond it. It does not explain the required params array structure, what appName/applicationId scope the batch to, or which fields are actually honored on create versus ignored (id, creator, createTime).

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

Purpose2/5

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

"[IDT] batchCreate" states an action (batch creation) but never names the resource being created or its scope; only the tool name hints at legal values. It is essentially a restatement of the name's verb with no added specificity, and it does not distinguish this batch-create from siblings such as idt__SaveAllLegalValue or the singular create tools for LegalValueType.

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

Usage Guidelines1/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 tool, when not to, or which sibling to prefer for single vs. bulk creation. An agent must guess between this and idt__SaveAllLegalValue, idt__PatchCreateLegalValueType, and similar tools from names alone.

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