Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

describe_bills

Read-only

Retrieve billing summaries for all product instances or billing items within a given billing period. Filter by instance ID or billing item dimension.

Instructions

Query the consumption summary of all product instances or billing items for a user within a specific billing period.
Args:
    billing_cycles: bill cycle YYYY-MM, e.g. 2020-03
    db_instance_id: DB instance id (e.g., "rm-xxx")
    is_billing_item: Whether to pull data according to the billing item dimension.
Returns:
    str: billing information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
billing_cyclesYes
db_instance_idNo
is_billing_itemNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description is consistent and adds no contradictory info. It describes the query operation but does not disclose additional behavioral traits like data freshness, rate limits, or permission requirements. With annotations covering safety, the description's lack of extra detail is acceptable.

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?

The description is concise, with a clear purpose statement followed by parameter explanations. It could be more structured (e.g., bullet points or separate sections), but it is efficient and front-loaded.

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 description covers the function and parameters adequately. Since an output schema exists, the vague return description ('str: billing information') is acceptable. However, it lacks context about the scope (e.g., what user, how billing periods are determined) and does not mention any prerequisites or error conditions.

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?

Schema description coverage is 0%, so the description must compensate. It provides examples and explanations for billing_cycles ('YYYY-MM'), db_instance_id (example 'rm-xxx'), and is_billing_item (boolean indicating dimension). This adds significant meaning beyond the schema, which only has titles.

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 clearly states it queries consumption summary for a user within a billing period. It specifies the resource (product instances/billing items) and the action (query). It distinguishes from sibling describe_* tools by focusing on billing, though it could be more precise about what 'consumption summary' includes.

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?

No guidance is provided on when to use this tool versus alternatives. Sibling tools like describe_db_instances or describe_monitor_metrics are not mentioned, and there are no conditions for when not to use this tool. The agent must infer usage 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-rds-openapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server