Skip to main content
Glama

iam__ShowAgency

Retrieves details of an IAM agency by its agency ID, letting administrators inspect delegation configuration for access control and auditing.

Instructions

[IAM] 该接口可以用于管理员查询委托详情。

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": {
      "agency_id": "<agency_id>"
    },
    "name": "iam__ShowAgency"
  }
}

Input Schema

NameRequiredDescriptionDefault
agency_idYes待查询的委托ID,获取方式请参见:[获取委托名、委托ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。

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 carries the full disclosure burden. It does convey that this is a read-only query restricted to administrators, which is genuine behavioral context beyond the schema. However, it says nothing about what happens with an invalid or non-existent agency_id, whether the result includes permission or policy sub-resources, or what the response contains.

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?

It is a single compact sentence with the operation and the audience front-loaded, and there is zero filler. The embedded support-portal link on 管理员 is marginally ornamental but does not impede comprehension.

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?

The tool is simple, with one required parameter fully described and no nested objects, and the description covers the operation and the audience. Because there is no output schema, the description should say what an agency detail record contains; that gap keeps it at a minimum-viable 3.

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 coverage is 100% and the single agency_id parameter is already documented in the schema with an example value and a link explaining how to obtain it. The description adds no meaning beyond that, so the baseline 3 applies for a fully documented schema.

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 verb and resource: query (查询) agency details (委托详情), scoped to IAM. That is far more precise than the bare name ShowAgency and lets an agent tell it apart from mutating siblings such as CreateAgency, UpdateAgency, and DeleteAgency. It stops short of 5 because it never names the read-only counterpart or a listing tool as an alternative.

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?

The only usage signal is that the interface is intended for administrators (管理员), which usefully implies a privilege requirement. The description never says when to prefer this over the permission-checking or permission-listing siblings, never states preconditions, and gives no exclusions. Usage is implied rather than guided.

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