Skip to main content
Glama

ims__ShowImageQuota

Queries the current tenant's private image quota in a Region to verify available image capacity before creating or managing images.

Instructions

[IMS] 该接口为扩展接口,主要用于查询租户在当前Region的私有镜像的配额数量。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ims__ShowImageQuota"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 behavioral burden. It does disclose that the query is scoped to the tenant and the current Region, which is useful. However, it does not say whether the quota is a limit, current usage, or remaining capacity, nor does it mention permission requirements or response shape.

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 no redundancy. The key information, tenant and Region scoping, is front-loaded. The only waste is the '扩展接口' framing, which adds little.

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 zero-parameter read tool with no annotations and no output schema, the description should clarify what the returned quota means. It establishes scope but leaves the nature of the quota value and the return structure unexplained. This is adequate but incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate. The schema coverage is 100% and the description adds no conflicting parameter claims. The baseline of 4 applies for a no-parameter tool.

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 names a specific verb and resource: querying the private image quota of a tenant in the current Region. This clearly distinguishes it from the CRUD and member-management siblings. The opening '[IMS] 该接口为扩展接口' is filler but does not obscure the purpose.

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?

It states only that the interface is 'mainly used for' querying quota. There is no guidance on when to call it versus alternatives, no prerequisites, and no mention of when it should not be used. The agent must infer everything about invocation context.

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