Skip to main content
Glama
shioaji-mcp

shioaji-mcp

by xianyuntang

list_accounts

Retrieves the stock and futures accounts available after login, letting MCP clients identify which trading accounts to use for balance, position, and profit/loss queries.

Instructions

Stock / futures accounts available after login.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one real behavioral fact: the tool requires an authenticated session and only returns accounts available to that login. It says nothing about result ordering, whether the list can be empty, or what the response shape looks like, and never explicitly states that it is a read-only, non-mutating call.

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 short fragment with zero padding and the scoping condition front-loaded. It is efficient, but the sentence-fragment form makes it feel like a label rather than a front-loaded definition, which costs a point.

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?

For a zero-parameter, read-only listing tool with no output schema, the description covers the essential concept and the auth precondition. It leaves the agent guessing about the returned fields (account identifiers, type flags) and any ordering, which is a modest but real gap.

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 clarify beyond what the empty schema already conveys. Baseline of 4 applies; the description adds no parameter meaning because none is needed.

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 fragment 'Stock / futures accounts available after login' identifies the resource (accounts) and the account types, but supplies no verb and reads as a noun label rather than a statement of action. An agent can infer it enumerates login-accessible accounts, yet it is not explicitly distinguished from siblings like account_balance or list_positions beyond the word 'accounts'.

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?

The only guidance is an implicit prerequisite ('after login'), which the agent can infer but is never stated as a requirement. There is no indication of when to call this versus account_balance or list_positions, nor any exclusions or ordering advice.

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