Skip to main content
Glama

需要度

need_ranking
Read-onlyIdempotent

哪裡最多人被公車耽誤(被耽誤的人·分鐘、工作地、學校、公設的百分位加權);權重可帶,不帶用預設 60/20/10/10。Where the most people lose time on public transport compared with driving.

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

Input Schema

NameRequiredDescriptionDefault
topNo前幾名,預設 10
townNo只看一個鄉鎮,例:竹北、東區
unitNo單位:里(預設,neighbourhood)或 鄉鎮(district)
weightsNo權重;不帶 = 60 / 20 / 10 / 10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the weighting scheme and its 60/20/10/10 default, which is useful context, but says nothing about output shape, units, or performance/rate characteristics beyond that.

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?

Two short sentences with the core metric front-loaded; the weight-default note follows. The bilingual duplication adds mild redundancy but does not obscure the point, and there is no wasted preamble.

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?

For a read-only ranking tool with no output schema, the description conveys what is being ranked and how the score is composed, which is enough for correct invocation. It would be stronger if it explained the output ordering or the unit of the percentile weighting.

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 `top`, `town`, `unit`, and the nested `weights` fields are already documented in the schema. The description's mention of the default weights restates schema content rather than adding syntax or meaning, so the baseline of 3 applies.

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 names a concrete computed metric — where people lose the most time on public transport versus driving — and spells out its components (delayed person-minutes, jobs, schools, civic facilities, percentile-weighted). That is a specific verb+resource. However, it never distinguishes itself from the sibling `rank` tool, leaving ambiguity about which ranking entry point to pick.

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 when-to-use, when-not-to-use, or alternative routing. With siblings like `rank`, `rank_...`, and `compare_groups` present, the agent gets no guidance on when this need-based ranking is the right choice. Only the weight defaulting rule is stated.

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