Skip to main content
Glama

iam__ShowMetadata

Retrieves the metadata file that an identity provider imported into IAM using the provider ID and protocol ID, helping administrators inspect federated authentication configuration.

Instructions

[IAM] 该接口可以用于管理员查询身份提供商导入到IAM中的Metadata文件。

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": {
      "idp_id": "<idp_id>",
      "protocol_id": "<protocol_id>"
    },
    "name": "iam__ShowMetadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
idp_idYes身份提供商ID。
protocol_idYes协议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 carries the full burden. It discloses that this is a read ('查询') and that administrator privileges are involved, but says nothing about whether the call is idempotent, what permissions are checked at runtime, or how the returned metadata file is shaped or encoded.

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?

A single sentence, front-loaded with the [IAM] namespace tag and the resource being fetched. The inline documentation link for 'administrator' is slightly noisy but no sentence is wasted.

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 and no output schema, the description covers what is fetched and from where. It leaves the agent guessing about the returned representation (for example, SAML XML versus a URL) and about failure modes when the provider or protocol does not exist.

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 both idp_id and protocol_id are documented in the schema itself. The description adds no interpretation of these identifiers or the pairing constraint beyond what the schema says, so the baseline of 3 applies.

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 a Metadata file that an identity provider has imported into IAM. This tells the agent more than the bare name and separates it from mutation siblings such as iam__CreateMetadata. It stops short of naming a sibling to prefer, so the distinction must be inferred.

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 description signals the intended caller (administrators) and the context (metadata already imported by an identity provider), which implies when the call is appropriate. It gives no explicit when-not conditions and does not compare with iam__ShowKeystoneMetadataFile, so the guidance is implied rather than stated.

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