Skip to main content
Glama

idt__CountXDmPolicySetXdmPolicySet

Counts XDM policy set records for a specified application using filters, sorting, and optional result limits.

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

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and it discloses nothing: no permission requirements, no behavior of maxCount capping, no error conditions. The only behavioral hint (maxCount capping) lives in the schema description, not the tool description.

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?

Two words, neither informative. Brevity here reflects under-specification rather than efficient front-loading; there is no structure to speak of.

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?

For a tool with 3 parameters including a deeply nested params object and no annotations or output schema, the description should explain what is counted and what the response shape is. Neither is present.

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 67% and quite verbose, so schema already documents most parameters. The description adds nothing — it does not explain appName scoping, applicationId, or how the nested params filter affects the count.

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?

Description is "[IDT] count" — essentially restates the tool name with a namespace prefix. It implies counting policy sets, but doesn't state what is counted, over what scope, or how it differs from sibling counting tools like CountXDmAspectXdmAspect.

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?

No when-to-use guidance, no alternatives named, no mention of when counting is preferred over ListXDmPolicySetXdmPolicySetQuery. The agent must infer everything from the 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