Skip to main content
Glama

台灣 AI 工具價格

查詢 AI API 官方價格

get_ai_api_pricing
Read-onlyIdempotent

查詢 AI API 官方價格(文字模型每百萬 tokens、繪圖每張、影片每秒、語音),並換算新台幣。

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

Input Schema

NameRequiredDescriptionDefault
vendorNo
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context by specifying the pricing units and that values are converted to TWD, but it does not say whether prices are fetched live, how often they refresh, or what exchange rate is applied — relevant given openWorldHint=true.

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 compact sentence with the resource and the unit breakdown front-loaded; no filler. It could have spent a few more words on the parameters without becoming bloated.

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, the description does well to state the units and TWD conversion of returned values. But for a two-parameter tool with zero schema coverage, leaving vendor undefined and giving no guidance on the overlapping sibling leaves the definition short of complete.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the parameter burden, yet it never mentions the vendor parameter at all. The enumerated pricing units (文字模型/繪圖/影片/語音) loosely map onto the category enum (llm/image/video/audio), giving partial compensation, but vendor remains completely unexplained.

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 (查詢 AI API 官方價格) and enumerates the pricing units covered (per million tokens, per image, per second, per audio), which tells an agent exactly what data comes back. It does not, however, distinguish itself from the sibling estimate_ai_api_cost_twd, whose purpose overlaps on the TWD-conversion angle.

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 or when-not-to-use guidance, and no mention of the closest alternative (estimate_ai_api_cost_twd) that an agent would need to choose between a price lookup and a cost estimate. Usage is only inferable from the stated output content.

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.