Skip to main content
Glama

idt__ShowByCodeTenant

Retrieves IDT tenant data by code, optionally decrypting parameters, using the specified application name and ID.

Instructions

[IDT] getByCode

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

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 burden of disclosure, and it discloses nothing: no read/mutation character, no permission or auth requirements, no behavior of the nested decrypt flag, no error or not-found semantics. A bare getByCode string leaves an agent unable to predict what calling it does.

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?

It is short, but shortness here reflects under-specification rather than economy; a bracketed product tag is the only structure and consumes part of an already minimal payload. Nothing is front-loaded because there is nothing substantive to front-load.

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?

The tool takes three parameters including a nested object, has no output schema and no annotations, yet the description explains none of it. For a code-based lookup in a large IDT family, an agent needs resource identity, code namespace, and decrypt semantics before calling, and all are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 67%, and the undocumented parts are the most consequential: the nested params object with 'code' and 'decrypt' has no descriptions at all, and the description never explains what a code identifies, which code namespace applies, or what decryption changes. The appName and applicationId fields are left untouched as well.

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] getByCode" at best restates the tool name in a fragmentary way; it names a lookup key but never identifies the resource being fetched (a tenant) or what is returned. Against a sibling set crowded with ShowBy* variants, an agent gets no basis for telling this tool apart from ShowByBusinessCodeFolder or ShowByCodeXdmPolicySet.

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 statement, no conditions, and no mention of the many sibling alternatives. The only implied guidance is that a 'code' is involved, which is already visible in the schema.

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