Skip to main content
Glama

Agent 信号

platform_agent_signal
Read-only

【策略】查询已订阅策略的最新交易信号(需本人有效订阅,或本人创建该策略)。返回最近信号列表(动作/标的/价格/时间等);不包含下单执行。参数 strategyId 必填,limit 可选(默认 10,最大 50)。(cost: free)

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": {
      "strategyId": "<strategyId>"
    },
    "name": "platform_agent_signal"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回条数(可选,默认 10,最大 50)
strategyIdYes策略 ID(必填)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint/destructiveHint, it declares the auth requirement (subscription ownership), the shape of the payload (动作/标的/价格/时间), the absence of order side effects, the result cap (max 50) and that the call is free. It does not cover failure behavior when the subscription is missing or expired, so a 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single dense sentence chain, front-loaded with the resource and eligibility, then return shape, then exclusion, then parameter defaults, then cost tag. Every clause carries distinct information and nothing is repeated.

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 2-param read-only query with no output schema, the definition covers eligibility, payload fields, side-effect scope and limits — enough to call it correctly. Minor gap: it does not say whether signals are real-time or delayed, or how many are typically available.

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% and the description restates the same facts (strategyId required, limit default 10 / max 50) rather than adding new meaning such as ID format or ordering of returned signals. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Two specific tokens plus scope: "查询已订阅策略的最新交易信号" names verb, resource and the subscription boundary, and "不包含下单执行" explicitly separates it from the order-execution siblings (platform_place_order / platform_cancel_order). An agent can classify it without opening the schema.

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?

States the eligibility condition clearly — the caller must hold an active subscription or be the strategy creator — which is the main precondition for using it. It also rules out order execution, but it does not name a sibling to route to when the agent actually wants to trade, leaving one inference step.

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.