Skip to main content
Glama

generate_signal

Generate an AI-powered crypto trading signal for a given pair and timeframe. Returns: action (OPEN_LONG | OPEN_SHORT | CLOSE), confidence (0.0–1.0), entry_price, take_profit (array of price levels), stop_loss, risk_reward ratio, indicators (rsi, macd, ema_20, atr), risk_flags (overbought_rsi | oversold_rsi | low_volume | high_spread | near_resistance | near_support), generated_at (ISO 8601), expires_at (ISO 8601), and quota_remaining. The thesis field contains LLM reasoning and is only present when include_thesis=true. On quota exhaustion returns error_code=QUOTA_EXCEEDED with Retry-After header. Requires Authorization: Bearer nt_.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesTrading pair in BASE/QUOTE format, e.g. BTC/USDT, ETH/USDT, SOL/USDT.
strategyNoSignal strategy to apply. Defaults to trend_rider.
timeframeNoCandlestick timeframe for signal analysis. Defaults to 15m.15m
personalityNoRisk personality shaping confidence weighting and TP/SL aggressiveness. Defaults to scalper.
include_thesisNoWhen true, includes the LLM-generated reasoning in the `thesis` field of the response. Adds ~200ms latency.

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description fully carries the behavioral transparency burden. It discloses authentication requirements (Authorization: Bearer nt_<api_key>), detailed return structure with enums and conditionals (thesis only when include_thesis=true), error behavior (QUOTA_EXCEEDED with Retry-After header), and response expiry. This is comprehensive and goes beyond typical descriptions.

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?

The description is a single dense paragraph that front-loads the purpose and then enumerates return fields, error handling, and auth. Every sentence earns its place, and there is no fluff. However, the length could be streamlined with bullets for readability, so it is not maximally concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of an output schema, the description compensates thoroughly by listing all response fields, their types/enums, conditional fields, and edge cases (quota exhaustion). It also covers auth and response expiry, ensuring the agent understands the tool's full behavior despite no structured output schema.

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%, so all five parameters are already documented in the input schema. The description adds minimal parameter-specific value beyond mentioning 'pair and timeframe' and the include_thesis conditional. This matches the baseline of 3 for high coverage, but does not elevate it.

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?

The description opens with a specific verb and resource: 'Generate an AI-powered crypto trading signal for a given pair and timeframe.' This clearly distinguishes it from the sibling tool get_account, which handles account information. The return fields reinforce the purpose without ambiguity.

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?

The description implies usage via 'for a given pair and timeframe' but does not explicitly state when to use this tool versus alternatives or when not to use it. It lacks exclusions or references to sibling tools, so usage guidance is only inferred from the purpose.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct concern: signal generation vs account quota. There is no overlap in purpose or output.

Naming Consistency5/5

Both tools follow a consistent verb_noun snake_case pattern (generate_signal, get_account), making their behavior predictable.

Tool Count3/5

Two tools is a minimal set for a narrow API. While it covers the essential operations, the number feels thin for a full-featured service.

Completeness4/5

The core signal generation and quota checking are covered, but there is no tool for retrieving historical signals or managing signal subscriptions, which could be expected in a fuller API.

Resources