Skip to main content
Glama

AI-ERP Business Connector

ai.usage

查询 AI 用量(风险 R0,直接执行)

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": "ai.usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full load; it does disclose that risk is R0 and that the call executes directly, so no human confirmation is needed, which is useful. It says nothing about authentication, the time window of the usage data, rate limits, or what the response contains.

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 short phrase with no filler, and the risk tier is placed inline after the purpose. Brevity here comes from under-specification rather than discipline, so it reads as terse instead of efficient.

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?

For a tool whose schema is an opaque args bag with no annotations and no output schema, the description should say what kind of usage data is returned (tokens, cost, quotas) and over what period. None of that is present, so an agent cannot predict the result or call it confidently.

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

Parameters2/5

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

The single parameter is a free-form, untyped object, with a schema description coverage of 0 percent and additionalProperties left true, so the description should explain what belongs in it. It adds nothing at all about args, leaving the agent guessing whether it should pass a date range, model filter, or nothing.

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 plus resource ("查询 AI 用量" — query AI usage), which is intelligible, but it adds almost nothing beyond the tool name ai.usage; anyone reading only the title could infer the same. It never distinguishes this from siblings such as ai.alerts, ai.health, or ai.list.

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?

No guidance covers when to use this tool instead of ai.list or ai.daily.brief, no prerequisite, and no exclusion. The parenthetical "风险 R0,直接执行" describes the approval tier, not usage context, so an agent gets no decision help.

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