Skip to main content
Glama
@segnals/mcp

@segnals/mcp

by eidostein

segnals_get_trades

Fetch recent trade history across all bots, optionally filtered by bot ID or date range, to review individual trades and trading activity.

Instructions

Get recent trade history across all bots, with optional filtering by bot ID, symbol, or date range. Use this to review individual trades. Requires scope: read:stats. Example: segnals_get_trades({ limit: 20 })

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of trades to return (default 50, max 100)
bot_idNoFilter trades to a specific bot ID
offsetNoOffset for pagination
accountNoThe account to act on. Optional: this program holds one account, "default".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / account
      Added value: +{
      +  "description": "The account to act on. Optional: this program holds one account, \"default\".",
      +  "type": "string"
      +}
    • addedInput schema / properties / bot_id / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden; it does disclose the read:stats auth scope and that this is a read operation, which is real added value. It says nothing about result ordering, default recency window, pagination interaction between limit and offset, or rate limits, and it advertises 'symbol' and 'date range' filters that the schema does not actually expose.

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?

Three short sentences, front-loaded with the capability and then the auth requirement, with no filler. The trailing example is low-value since it repeats the limit parameter already documented in the schema.

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 simple read tool with full schema coverage and no output schema, the definition covers purpose, use case, and auth scope adequately. It is incomplete on what a trade record actually contains and how results are ordered/paginated, and it introduces phantom filters that undercut trust in the rest of the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the schema documents limit, bot_id, offset, and account fully; the description adds no syntax or format detail beyond that. Worse, it claims filtering by symbol and date range, neither of which exists as a parameter, which could lead an agent to attempt unsupported arguments.

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 ('Get recent trade history') with a scope qualifier ('across all bots') that distinguishes it from a per-bot history lookup. The intent is immediately legible, though it does not name any sibling tool as an alternative.

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?

'Use this to review individual trades' gives a clear use case and 'Requires scope: read:stats' supplies a hard prerequisite, which is exactly the kind of routing information an agent needs. It stops short of stating exclusions or naming a more aggregate alternative such as a PnL summary.

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