Skip to main content
Glama

apig__ListApiQuantities

Retrieves the count of APIs published to the RELEASE environment versus those not yet published for a tenant, helping you assess API deployment status.

Instructions

[APIG] 查询租户名下的API概况:已发布到RELEASE环境的API个数,未发布到RELEASE环境的API个数。

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": "apig__ListApiQuantities"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/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. It does disclose tenant scoping ('租户名下') and the exact breakdown of the two returned counts, which is meaningful behavioral context for a read query. It omits permission/auth requirements and any note on whether the result is a point-in-time snapshot, leaving gaps for an unannotated tool.

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

Conciseness5/5

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

A single front-loaded sentence: verb and scope first, then a colon introducing the two specific counts. No filler, no restatement of the tool name, and every clause contributes information.

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 no output schema, the description correctly compensates by naming the two return values, which is the essential information for an agent. It falls short of fully complete because it never addresses the versioning ambiguity against ListApiQuantitiesV2.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to clarify; the schema is trivially complete. Baseline 4 applies, and nothing in the description misrepresents the input surface.

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?

States a specific verb and resource ('查询租户名下的API概况') and enumerates exactly what is counted: APIs published to RELEASE versus not published. An agent knows precisely what data comes back. It does not, however, differentiate itself from the near-identical sibling apig__ListApiQuantitiesV2 described in the catalog.

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 or when-not-to-use guidance, no prerequisites, and no mention of the V2 sibling that appears to cover the same ground. The agent must infer from the wording alone when this tool is preferable to any alternative.

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