Skip to main content
Glama

workspaceapp__ShowPolicyGroup

Retrieve policy group details by ID, including policy settings and application objects. Use it to inspect workspace policy configurations and troubleshoot assignments.

Instructions

[WORKSPACEAPP] 根据策略组ID查询策略组详细信息,包含策略信息以及应用对象信息。

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": {
      "policy_group_id": "<policy_group_id>",
      "project_id": "<project_id>"
    },
    "name": "workspaceapp__ShowPolicyGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
policy_group_idYes策略组id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. 查询 implies a read-only operation and the description helpfully discloses what comes back (policy info and applied target info), which matters since there is no output schema. However, it says nothing about permission requirements, error behavior for an invalid ID, or what is omitted from the detail view.

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

Conciseness4/5

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

One compact sentence that front-loads the vendor tag, then the verb, key parameter, and returned content. Nothing is redundant, though the bracketed product prefix is pure noise for an agent.

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

Completeness3/5

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

For a two-parameter read tool with a fully documented schema, the definition covers purpose and payload contents adequately. The remaining gap is behavioral: no annotations and no statement of auth needs or failure modes for a lookup that clearly depends on a valid project and policy group ID.

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?

Schema description coverage is 100%, so both project_id and policy_group_id are already documented in the schema and the baseline of 3 applies. The description only reinforces that lookup is keyed on policy group ID and adds no format, scoping, or cross-project constraints.

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?

States a specific verb and resource: query (查询) the policy group's details by policy group ID, and enumerates the payload (策略信息 plus 应用对象信息). This distinguishes it from list-style siblings such as ListPolicyGroup and ListPolicyGroupDetailInfo, though those alternatives are never named.

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?

Usage is only implied — the phrase 根据策略组ID indicates a single-record lookup rather than a list. There is no explicit when-to-use, when-not-to-use, or pointer to sibling tools like ListPolicyGroup or ListPolicyGroupDetailInfo, so the agent must infer routing from the name 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