Skip to main content
Glama

query_common_collection_api_statistics

Destructive

输入时间范围,拿到任务的成功次数、失败次数、总次数、成功率、平均响应时间、P50/P90 响应时间和消耗积分

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_common_collection_api_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo查询时间范围结束时间,秒级时间戳;缺失或为 0 时默认为当前时间秒值
startNo查询时间范围开始时间,秒级时间戳;缺失或为 0 时默认为当前日期 00:00:00 减去 7 天的秒值

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations mark this as non-read-only, non-idempotent, open-world and destructive, which is surprising for a statistics lookup; the description's mention of credit consumption ('消耗积分') is the one detail that explains why the call is not free, and that is genuinely useful beyond the annotations. It still does not say whether statistics are scoped to the caller's account, how results are aggregated/bucketed over the range, or that repeated calls cost credits each time.

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 with no filler; the long metric list is all return-value information, which matters because no output schema exists. It reads as a comma-run rather than a structured list, so it is efficient but slightly dense.

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?

With only two fully documented optional parameters and no output schema, the main thing an agent needs from prose is the shape of the result, and the description delivers that via the metric enumeration. Remaining gaps (account scoping, aggregation window, credit cost per call) are secondary but non-trivial for an open-world tool.

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% and both parameters already document the seconds-timestamp format and their 0/missing defaults (7-day lookback window). The description only says 'time range' without adding semantics such as whether the range is inclusive, what aggregation granularity applies, or any maximum span, so it does not exceed the schema.

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 by time range) and enumerates exactly what comes back: success/failure/total counts, success rate, average response time, P50/P90, and consumed credits. That is enough to separate it from a per-task status lookup like query_common_collection_api_task_status, but the differentiation is only implicit.

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?

The only usage cue is 'input a time range'. There is no statement of when to prefer this aggregated-statistics tool over the sibling task-status tool, no prerequisites, and no exclusions. An agent must infer the boundary from the sibling's name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources