Skip to main content
Glama

ces__ShowQuotas

Query CES resource quotas and current usage for a project, including alarm rule limits, to check available capacity before creating resources.

Instructions

[CES] 查询用户可以创建的资源配额总数及当前使用量,当前仅有告警规则一种资源类型。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It makes clear this is a read-only query of quota totals and usage, and it discloses the current resource-type limitation, but it does not mention permission requirements, pagination, 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?

A single, front-loaded sentence covering scope, purpose, and current limitation, with no wasted wording. It could be marginally clearer by naming the sibling tools it competes with.

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

Completeness4/5

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

For a simple one-parameter read-only quota query, the description covers what is queried (totals and usage) and the current resource-type constraint. The lack of annotations and output schema leaves minor gaps around return format and permissions, but the core information an agent needs is present.

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?

There is a single required parameter (project_id) with 100% schema description coverage, so the schema already explains it. The description adds no additional meaning about the parameter, which matches the baseline for full schema coverage.

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 gives a specific verb (query) and resource (quota totals and current usage), and scopes it by noting that only alarm rules are supported as a resource type. The [CES] prefix helps distinguish it from the many sibling ShowQuotas tools for other services, though it never explicitly says to prefer this tool for CES resources over those siblings.

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?

Usage is implied: query quotas when you need totals and current consumption. The note about the supported resource type gives useful context, but there is no explicit when-to-use/when-not-to-use guidance and no mention of alternative quota tools for other services.

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