Skip to main content
Glama

idt__PatchHasAccessAccessService

Checks whether a user has permission on a batch of instance records and returns the authorization result for each instance ID.

Instructions

[IDT] 判断用户对批量实例数据是否有权限,返回用户对每条实例鉴权结果

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

Input Schema

NameRequiredDescriptionDefault
paramsNo
appNameYesappName
applicationIdNo应用ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavior. It discloses that the operation evaluates permissions and returns a result per instance, implying a read-only check, but it does not clarify side effects, auth requirements, rate limits, or error behavior; the 'Patch' prefix is also unexplained.

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

Conciseness5/5

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

The description is a single concise sentence with the action and return behavior front-loaded. It contains no filler, though its brevity contributes to other completeness gaps.

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 a nested params object, 3 top-level parameters, no annotations, and no output schema, one sentence is not enough. It states the high-level purpose and per-instance return format but omits how to call it correctly and what the response contains.

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?

The description maps loosely to ids/userId/operations via '批量实例', '用户', and '每条实例', but it does not explain appName, applicationId, operations, or rdmExtensionType beyond the schema. At 67% schema coverage, this adds some context but leaves meaningful gaps.

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

Purpose4/5

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

The description states a specific action ('判断...是否有权限') on a specific resource ('批量实例数据') and adds return semantics ('每条实例鉴权结果'). It distinguishes itself as a batch check through '批量', but does not explicitly name the sibling check tool.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Use for batch permission checks is implied by '批量实例数据', but there is no explicit when-to-use guidance, prerequisites, or comparison to idt__CheckHasAccessAccessService. An agent can infer the batch scenario but must guess the exclusions.

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