Skip to main content
Glama
Gainium

Gainium

Official

create_deal

Destructive

Create new deals for DCA, combo, or terminal trading. Specify deal type, and provide required parameters like bot ID or exchange details.

Instructions

Create a new deal. For dca/combo: starts a deal from an existing bot. For terminal: creates a standalone terminal deal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dealTypeYesDeal type
paperContextNoPaper trading context (true = paper, false = real). Default: false
botIdNoBot ID (required for dca/combo)
symbolNoOptional symbol override (dca/combo)
exchangeUUIDNoExchange UUID (required for terminal)
terminalDealTypeNoTerminal deal type (required for terminal)
pairNoTrading pair for terminal (optional)
strategyNoTrading strategy for terminal
baseOrderSizeNoBase order size for terminal
orderSizeNoOrder size for terminal
tpPercNoTake profit percentage for terminal
slPercNoStop loss percentage for terminal
settingsNoTransparent passthrough for any additional terminal deal settings. Merged flat into request body.
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, indicating a write operation that may be destructive. The description confirms creation of a new deal, aligning with annotations and adding no contradiction. It also clarifies the two distinct creation pathways, adding behavioral context beyond annotations.

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?

Two sentences with no filler. The first sentence states the main purpose; the second explains the two modes. Every phrase earns its place, making it highly efficient and easy to parse.

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?

Given the complexity of 13 parameters and two distinct creation paths, the description provides a high-level overview that covers the main modes. It does not detail all parameter interactions or return values, but the schema fills those gaps. A mention of any output or next steps could improve completeness, but overall it's adequate.

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

Parameters5/5

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

While schema coverage is 100% with descriptions, the tool description adds significant meaning by grouping parameters by deal type (dca/combo requires botId, terminal requires exchangeUUID, etc.). This provides context that the schema alone does not offer, such as explaining that settings is a passthrough for terminal.

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 explicitly states the tool's purpose: creating a new deal. It distinguishes between two types (dca/combo from existing bot, terminal standalone), providing a clear verb+resource distinction that differentiates it from sibling tools like update_deal or manage_deal.

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?

The description provides clear context for when to use each parameter set: for dca/combo vs terminal. It implicitly guides the agent on required parameters based on deal type, but does not explicitly exclude other use cases or mention alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gainium/gainium-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server