Skip to main content
Glama

idt__CountUnitType

Counts UnitType records by application, with optional filters, sorting, and a maximum count cap for bounded queries.

Instructions

[IDT] count

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

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 behavioral disclosure, and it discloses nothing. It does not state that this is a read-only aggregation, whether it respects tenant/public-data scoping, whether it is subject to the maxCount cap, or what the return value looks like.

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?

The text is short but not concise in the useful sense — it is under-specified to the point of being uninformative. No front-loaded statement of what is counted or what the result is.

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 tool with a 3-parameter, deeply nested schema, no annotations, no output schema, and no description of return semantics, two words are wholly inadequate. An agent cannot determine the counted entity, the effect of filters, or the meaning of the maxCount cap from this definition.

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 67% of parameters, but the most semantically loaded fields (entityType, publicData enum, isNeedTotal, maxCount) are only lightly described in Chinese, and the description adds no clarification at all. Nested filter and sort structures are left entirely to the schema with no usage note from the description.

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] count" restates the verb already present in the tool name (CountUnitType) and adds only a bracketed product tag. It never names the resource being counted (unit types) or the scope of the count, so an agent must infer the purpose entirely from the name.

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 when-to-use guidance, no mention of when a count is preferable to a list call (e.g., idt__ListUnitType), and no exclusions or prerequisites. The description provides zero routing information among a large sibling set.

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