Skip to main content
Glama

cloudrtc__ListRtcHistoryUsage

Query historical CloudRTC usage metrics for a specific app and project over a chosen date range to analyze consumption.

Instructions

[CLOUDRTC] 查询过去的某一时间段内各种业务的用量数据

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": {
      "app": "<app>",
      "end_date": "<end_date>",
      "metric": "<metric>",
      "project_id": "<project_id>",
      "start_date": "<start_date>"
    },
    "name": "cloudrtc__ListRtcHistoryUsage"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes应用标识
metricYes查询的数据类型
end_dateYes查询结束时间。UTC时间,格式:YYYY-MM-DD,如2020-04-23。
project_idYes项目ID,获取方法请参考[获取项目ID](rtc_07_0015.xml)。
start_dateYes查询起始时间。UTC时间,格式:YYYY-MM-DD,如2020-04-23。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 behavioural burden, and it discloses very little: it does not say what the response contains, whether the data is aggregated per metric, or what happens when the date range is invalid or too large. The single useful signal is that the window is historical ('过去的某一时间段内'), implying a bounded retrospective query rather than a live snapshot.

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 definition is a single compact sentence with the [CLOUDRTC] tag front-loaded at the start, and no wasted wording. It is efficient, though the brevity is bought at the cost of the detail that the other dimensions assess.

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

Completeness2/5

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

With five required parameters, no output schema and no annotations, the one-sentence description is too thin: it omits the metric enumeration ('各种业务' is never spelled out), the result shape, and any preconditions or fallback behaviour. An agent could call it, but only by leaning entirely on the schema.

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 description coverage is 100%, so the five required parameters (app, metric, start_date, end_date, project_id) are already documented in the schema, including the YYYY-MM-DD format and the path/query placement. The description adds no meaning beyond that baseline, but it also does not need to.

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

Purpose3/5

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

The description names a verb (query) and a resource (usage data) plus a scope (a past time window), so the basic purpose is clear. However, '各种业务的用量数据' is vague about which dimensions or metrics are covered, and nothing distinguishes it from siblings such as ListRtcHistoryQuality or ListRtcHistoryScale, which likely return different slices of the same historical data.

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?

There is no when-to-use guidance: no statement of when to prefer this tool over the realtime or quality/scale siblings, and no preconditions such as the required app/project_id pairing. The only implicit cue is the word '过去' (past), which hints at historical rather than realtime queries, but that is left for the agent to infer.

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