Skip to main content
Glama

dataartsstudio__ListApiTopN

Retrieves the top N applications calling a specified DataArts Studio API, ranked by metrics such as call count, success rate, failure rate, or average cost time over a chosen time range.

Instructions

[DATAARTSSTUDIO] 查询指定api 应用调用topN。

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": {
      "api_id": "<api_id>",
      "end_time": "<end_time>",
      "order_by": "<order_by>",
      "project_id": "<project_id>",
      "start_time": "<start_time>",
      "time_unit": "<time_unit>",
      "top_num": "<top_num>"
    },
    "name": "dataartsstudio__ListApiTopN"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_idYesapi编号。
top_numYes前几名。
end_timeYes结束时间(13位时间戳)。
order_byYes排序条件。
time_unitYes时间单位。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
start_timeYes开始时间(13位时间戳)。
instance_idNo集群编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and delivers almost none. It does not say whether this is a read-only query, whether results are limited or paginated, how time_unit interacts with start/end time, or whether instance_id is needed for correct scoping.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no wasted words, but the brevity here reflects under-specification rather than efficient communication for an 8-parameter tool.

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 8 parameters, 7 of them required, no annotations, and no output schema, the description should explain the ranking semantics and what the response contains. It provides none of that, leaving the agent to infer the tool's contract entirely from 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%, with all eight parameters documented including two enums, so the baseline of 3 applies. The description adds nothing beyond the schema – it does not explain how order_by and top_num combine or how time_unit affects the returned ranking.

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 gives a verb (查询/query) and a resource (指定api 应用调用topN), so the general intent is recoverable. However, it is ambiguous about what is actually being ranked – top N apps by call volume, or top N time buckets – and it does not distinguish itself from siblings like ListApisTop and ListAppsTop, which an agent could easily confuse with it.

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 preconditions, and no mention of any alternative tool. The agent is left to guess whether this is the right choice versus ListApisTop or ShowApiDashboard.

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