Skip to main content
Glama

query_user_credit_daily_usage

Destructive

统计用户按日的积分使用情况,含视频下载、网页采集、搜索引擎、网页解锁与总消耗积分

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_user_credit_daily_usage"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior1/5

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

The description frames the operation purely as reporting/aggregation of usage (统计...情况), which is a read-style operation, while the annotations declare readOnlyHint=false and destructiveHint=true. No explanation is offered for why a metric query would be destructive or non-idempotent, so the behavioral picture presented to the agent is inconsistent with the structured metadata.

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 compact sentence that front-loads the resource and the aggregation nature, then lists the breakdown categories. Nothing is redundant, though it spends its length on output categories rather than on call behavior.

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?

There is no output schema, and the description does cover the returned categories, which helps. However, for a tool with destructive/non-idempotent annotations it says nothing about granularity of daily buckets, ordering, or why the operation is flagged destructive, leaving an important behavioral gap.

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%: start and end are fully documented with second-level timestamp semantics and their defaults (now, and now minus 30 days). The description adds no parameter-level meaning beyond what the schema already states, so the baseline of 3 applies.

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 (统计 / tally) and resource (用户按日积分使用情况), and enumerates the breakdown dimensions returned: video download, web scraping, search engine, web unlock, and total credits. That distinguishes it from balance-oriented siblings such as query_user_balance, though no sibling is named explicitly.

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?

It never says when an agent should call this instead of query_user_balance or query_common_collection_api_statistics, nor any prerequisites such as authentication or an account scope. The usage is only implied by the tool name and the word 统计.

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