Skip to main content
Glama

coc__CountMultiResources

Counts a user's cloud resources by vendor, region, or view to return total inventory figures for resource overviews.

Instructions

[COC] 查询用户各种资源总数

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": {
      "vendor": "<vendor>"
    },
    "name": "coc__CountMultiResources"
  }
}

Input Schema

NameRequiredDescriptionDefault
vendorYes厂商来源(默认RMS,可填RMS/ALI/AWS)
view_idNo视图 id,视图模式下必填
region_idNo区域 id
is_resourceNo是否为资源模块

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and discloses almost nothing. It implies a read-only aggregation but says nothing about permissions, what the counts are grouped by, whether zero-count categories appear, or what the response shape is.

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 short sentence with no wasted words and the purpose front-loaded. The brevity is efficient, though it borders on under-specification for a four-parameter tool.

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 four-parameter counting tool with no annotations and no output schema, the description leaves the agent without any statement of count semantics, grouping, or authentication context. The schema covers parameters, but the behavioral context needed to invoke it confidently is missing.

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%, so vendor, view_id, region_id and is_resource are already documented in the schema, including the RMS/ALI/AWS note and the conditional requirement of view_id in view mode. The description adds no meaning beyond that, so the baseline of 3 applies.

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 (query/count) and a resource (user resource totals), so the general intent is inferable. However, '各种资源' (various resources) is vague about what is actually being counted and over what scope, and it does nothing to distinguish this tool from siblings such as coc__ListMultiCloudResources or the other Count* tools.

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 guidance on when to use this counting tool versus the many sibling list/count tools, and no stated prerequisites or exclusions. The agent must infer that this is the aggregate-count counterpart to listing tools entirely on its own.

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