Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

describe_bills

Read-only

Query consumption summary for all product instances or billing items within a specific billing period using billing cycle, instance ID, and item dimension filters.

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, and the description confirms a read query. However, it adds no further behavioral details such as rate limits, required permissions, or scope limitations beyond what annotations provide.

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 efficient, with a clear top-level sentence and parameter list. While the parameter section mirrors the schema, it adds essential semantics given the schema's lack of descriptions. Minor redundancy but well-structured.

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?

The description covers the tool's purpose and all parameters. It lacks details on return structure or error handling, but an output schema exists to cover that. Overall adequate for a query tool with rich annotations.

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

Parameters5/5

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

Schema description coverage is 0%, so the description compensates fully by explaining each parameter's meaning, format (e.g., YYYY-MM for billing_cycles), and examples (e.g., 'rm-xxx' for db_instance_id). This adds significant value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries a consumption summary for billing items/instances, with a specific verb and resource. No sibling tool performs billing queries, so it is well-distinguished.

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 explains what the tool does but offers no guidance on when to use it versus other tools or when not to use it. Usage is implied for billing queries, but no explicit alternatives or exclusions are mentioned.

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