Skip to main content
Glama
shioaji-mcp

shioaji-mcp

by xianyuntang

futures_margin

Retrieve futures and options account equity, margin, and risk indicators to assess trading capacity and monitor exposure.

Instructions

Futures/options account equity, margin, risk indicator.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and largely fails it. It does not state that this is a read-only query, whether it reflects real-time or end-of-day values, which account it resolves to given zero parameters, or any permission requirement. Only the implicit 'indicator' wording hints that it is informational rather than an actionable calculation.

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

Conciseness3/5

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

It is certainly short, but it is an unstructured noun phrase rather than a front-loaded sentence with a verb, so brevity here is under-specification rather than economy. Nothing is wasted, but nothing is organised either.

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 zero parameters, no annotations, and no output schema, the description is the sole source of truth, and it does at least enumerate the three data concepts returned. It stops short of saying whether these are separate figures or a combined report, and whether the response is per-account or global, which an agent would need to know.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The only residual gap is that with no parameters it is unclear whether the account is implicitly scoped to the configured session.

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

Purpose3/5

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

The description names the resource domain (futures/options account) and the data concepts involved (equity, margin, risk indicator), but it is a bare noun fragment with no verb, so it never states what the tool actually does with them — fetch? compute? summarise? It is more specific than the tool name alone and roughly distinguishes it from account_balance and trading_limits, but only by topic, not by operation.

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 when-to-use guidance at all: no mention of when to pick this over account_balance, trading_limits, or list_positions, and no stated precondition (e.g. that it requires a futures-enabled account). The agent must infer everything from the name.

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