Skip to main content
Glama

functiongraph__ListStatistics

Retrieves tenant function statistics for monitoring data or monthly reports, with filters, pagination, period selection, and project ID.

Instructions

[FUNCTIONGRAPH] 租户函数统计信息。

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": {
      "filter": "<filter>",
      "project_id": "<project_id>"
    },
    "name": "functiongraph__ListStatistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo本次查询最大返回的数据条数,最大值500,默认值100100
filterYes参数过滤器。
markerNo本次查询起始位置,默认值00
optionNo月度统计的维度,filter参数取值为monthly_report时才生效。
periodNo时间段单位为分钟,与filter参数metric配合使用。
project_idYes租户项目 ID,获取方式请参见[获取项目ID](functiongraph_06_0260.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/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 it discloses nothing: no indication of read-only nature, pagination behavior despite limit/marker parameters, access scoping to the caller's tenant, or what the statistics represent. For a parameterized query tool this is effectively no behavioral information.

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?

The definition is a single short sentence with no filler, which is efficient, but it is not sized appropriately for a tool that reports on two distinct statistical modes, and there is no front-loaded distinction or structure to guide the reader.

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 six parameters, an enum-driven mode switch, and no output schema, the description should at minimum say what statistics are returned and explain the monitor_data versus monthly_report modes. Instead it only restates the tool's subject, leaving the agent dependent on the schema for any understanding of output or mode selection.

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 the schema itself documents limit, marker, filter (with enum values monitor_data/monthly_report), option, period, and project_id, including how option and period relate to filter. The description adds no meaning beyond that, so the 3 baseline applies with the schema doing all the work.

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 identifies the resource as tenant-level function statistics ("租户函数统计信息"), which tells an agent roughly what data it returns. However, it uses a bare noun phrase with no verb (list/query/get) and gives no indication of how it differs from the sibling functiongraph__ListFunctionStatistics, so an agent cannot reliably choose between them.

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 prerequisite context, and no mention of when this tool should be preferred over alternatives. The single closest sibling, ListFunctionStatistics, is never referenced, leaving selection entirely to inference from the name.

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