Skip to main content
Glama
gabrielcerutti

eToro MCP Server

Close position

etoro_close_position
Destructive

Close an open eToro position fully or partially by providing the position ID and optional units to deduct.

Instructions

Close an open position (fully or partially). Pass unitsToDeduct to close only part of the position; omit it to close fully.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionIdYesThe position ID to close
instrumentIdNoInstrument ID of the position (optional; will be looked up from portfolio if omitted)
unitsToDeductNoNumber of units to close for partial close. Omit for full close.
Behavior4/5

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

Annotations already mark destructiveHint=true. The description adds useful behavioral context about partial close functionality and that omitting unitsToDeduct results in full close. No contradictions.

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 concise sentences, front-loaded with purpose, followed by parameter usage. No unnecessary text.

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 no output schema and simple mutation, the description adequately explains how to use the tool. It lacks return value info but is sufficient for an agent.

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 covers 100% of parameters with descriptions. The description adds value only for unitsToDeduct by clarifying its omission for full close. Baseline score of 3 is appropriate.

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 action ('Close an open position') and the two modes (fully or partially), clearly distinguishing from sibling tools like etoro_open_position or etoro_cancel_order.

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 implies when to use the tool (when you want to close a position) and mentions optional partial close. It doesn't explicitly state when not to use it, but the context of open position vs order is clear from sibling names.

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/gabrielcerutti/etoro-mcp-server'

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