Skip to main content
Glama

获取订阅指引

platform_subscribe_guide
Destructive

【账户与额度】订阅引导(写操作,需用户确认):为指定 AI 助理生成订阅引导信息(周期可选 day/week/month/year),确认后返回订阅链接与支付信息,不自动扣费。参数 strategyId 必填(agentId 为等价别名)。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

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

Input Schema

NameRequiredDescriptionDefault
periodNo订阅周期(可选)
agentIdNo同 strategyId(兼容旧客户端别名,二选一)
strategyIdNo要订阅的 AI 助理 / 策略 ID(来自 platform_list_agents)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed3 schema fields changed
    • changedInput schema / properties / agentId / description
      Previous value: -"要订阅的 AI 助理 / 策略 ID(必填)"New value: +"同 strategyId(兼容旧客户端别名,二选一)"
    • addedInput schema / properties / strategyId
      Added value: +{
      +  "description": "要订阅的 AI 助理 / 策略 ID(来自 platform_list_agents)",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "agentId"
      -]
  4. Changed1 schema field changed
    • changedInput schema / properties / agentId / description
      Previous value: -"要订阅的 Agent / 策略 ID(必填)"New value: +"要订阅的 AI 助理 / 策略 ID(必填)"
  5. Added
  6. Removed
  7. Changed1 schema field changed
    • changedInput schema / properties / agentId / description
      Previous value: -"要订阅的 AI 助理 / 策略 ID(必填)"New value: +"要订阅的 Agent / 策略 ID(必填)"
  8. Changed1 schema field changed
    • changedInput schema / properties / agentId / description
      Previous value: -"要订阅的 Agent / 策略 ID(必填)"New value: +"要订阅的 AI 助理 / 策略 ID(必填)"
  9. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write nature is known; the description usefully adds that user confirmation is required, that no automatic charge occurs, that a link and payment info are returned, and that external calls run under the apikey identity. That is meaningful context beyond annotations, but there is mild tension between destructiveHint=true and the 'no auto-deduct' framing, which the description does not reconcile (e.g., whether an existing subscription is replaced or cancelled).

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 category and purpose, then the write/confirmation constraint, then parameters, then cost – a sensible order with no filler sentences. The '写操作' note is repeated in two bracketed tags, which is minor redundancy.

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 3-parameter tool with no output schema, the description covers purpose, confirmation requirement, cost, and the shape of the return (link + payment info). It lacks only the distinction from the sibling subscription tools and what happens if a subscription already exists.

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%, but the description still adds value: it supplies period values (day/week/month/year) that the schema omits entirely, and it declares strategyId as required with agentId as an equivalent alias – a constraint the schema's empty required list does not convey.

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: generate subscription guidance info for a designated AI assistant, returning a subscription link and payment info. It is clear what the tool produces, though it never names the sibling tools it differs from (platform_subscribe_plan / platform_subscribe_strategy), so differentiation is left to the agent.

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

Usage Guidelines3/5

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

Gives a real usage constraint ('需用户确认' – requires user confirmation, '不自动扣费' – does not auto-deduct), which tells the agent this is a confirmation-gated step. However, it offers no explicit when-to-use/when-not guidance relative to the similarly named subscription siblings, so the agent must infer the choice.

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.