Skip to main content
Glama
aiprice-mcp

aiprice-mcp

Official
by AIprice-club

Relay prices for one model (模型中转价)

get_model_relay_prices
Read-onlyIdempotent

Retrieves API relay price options for a named model in CNY per 1M input/output tokens, plus each site's minimum-price valid group, minimum price, site count, and share of official price.

Instructions

Cheapest API relay prices for one specific model (CNY per 1M input / output tokens), each relay site with its cheapest valid group, plus the lowest price, number of sites and share of the official price. Use when the user names an exact model, e.g. "claude-opus-5-5", "claude-sonnet-5-5", "gpt-6.2-sol", "gemini-4-argon", "deepseek-v4-pro". Dots, spaces and display names are accepted ("Claude Opus 5.5"). 中文关键词:某模型中转多少钱、每百万 token 价格、词元价格、Opus 中转价。

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": {
      "model": "<model>"
    },
    "name": "get_model_relay_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many cheapest sites to return (default 10, max 50)
modelYesModel ID or name, e.g. "claude-opus-5-5", "Claude Opus 5.5", "gpt-6.2-sol"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, so safety is covered; the description adds real context beyond that — units and currency (CNY per 1M input/output tokens), the aggregation shape (each site reduced to its cheapest valid group), and derived outputs like share of official price. No detail on behavior for unknown/unmatched model names.

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?

Front-loaded with what the tool returns, then when to use it, then accepted input forms. The long list of five example model IDs plus a Chinese keyword sentence adds length, though each element does serve lookup/matching intent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the return-value burden and does so: it names the currency, unit, per-site grouping rule, and aggregate fields. Input format flexibility is also covered, leaving nothing essential for correct invocation unstated.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above that by clarifying that the model parameter accepts dots, spaces and display names ("Claude Opus 5.5") in addition to IDs, which is not stated in the schema. The limit parameter is left to the schema, which is acceptable given full coverage.

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+resource with tight scope: "Cheapest API relay prices for one specific model" and enumerates the returned fields (per-site cheapest valid group, lowest price, site count, share of official price). Scope is narrow enough (single model) to separate it from ranking/listing siblings, but no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use condition: "Use when the user names an exact model," backed by concrete model examples and a Chinese keyword line for cross-lingual triggers. It does not state when NOT to use it or point to get_relay_ranking / get_official_region_prices as the alternative for broad or official-price queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.