Skip to main content
Glama

Value Ledger 研值

compare_industry

Read-onlyIdempotent

以完整產業名稱查同月份公司,依年增率降冪、同值依代號升冪。樣本數為截斷前可排名家數;排除缺營收或年增率者。sort 僅支援 yoy。

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": {
      "industry": "<industry>"
    },
    "name": "compare_industry"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoyoy
limitNo
monthNoYYYY-MM;省略時使用最近已發布月份。未發布月份不推估。
industryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive behavior: descending YoY order with code-ascending tie-break, that the sample count reflects rankable companies before truncation, and that companies missing revenue or YoY are excluded. Those exclusion and truncation rules are real context an agent cannot get from the annotations.

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?

Three compact sentences, front-loaded with the core action and followed by ordering and exclusion rules. No filler, though the tie-break detail is slightly ahead of more essential parameter context.

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?

With no output schema and low parameter coverage, the description should explain what the truncated ranked list looks like and how limit affects it. It hints at truncation via the sample-count sentence but does not close the 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 coverage is only 25%, so the description must compensate. It clarifies that 'industry' expects the complete industry name and that sort is limited to yoy, but says nothing about the meaning of limit or how month omission interacts with ranking.

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 states a specific verb and resource: query companies in a given industry for the same month, ranked by YoY growth. It is clearly narrower than siblings like search_company or top_growth, though it never names those alternatives 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?

There is no explicit statement of when to use this tool versus top_growth or search_company, nor any exclusion guidance beyond 'sort only supports yoy'. The reader must infer that this is the industry-scoped ranking variant.

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