Skip to main content
Glama

get_positions

Retrieve portfolio positions for the configured wallet or a specific address, optionally filtered by venue, to review holdings and trade exposure.

Instructions

Get portfolio/positions for your wallet or a specific address.

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

Input Schema

NameRequiredDescriptionDefault
venueNoVenue name
addressNoWallet address (defaults to configured wallet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it discloses almost nothing beyond an implied read. It does not state that the call is read-only, what authentication or wallet configuration is required, or what a returned position contains. The only behavioral hint is the inferred default of the configured wallet.

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 front-loaded sentence with no wasted clauses. The only weakness is the hedged "portfolio/positions" phrasing, which is less crisp than naming one return type.

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

Completeness2/5

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

With no annotations and no output schema, the definition should explain what positions look like, whether results are scoped per venue, and any auth prerequisites. It omits all of this, leaving the agent unable to predict the response shape or the venue parameter's effect.

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 coverage is 100%, so both parameters are already documented, and the description adds nothing about venue scoping or accepted venue names. Baseline 3 applies since the schema does the parameter work and the description merely restates the address default.

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 (get) and resource (portfolio/positions), so an agent knows the general operation. The slash pairing of "portfolio/positions" is slightly ambiguous about whether these are distinct return types, and the description never differentiates from siblings such as get_orders or wm_get_wallet_info.

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?

No when-to-use guidance, no exclusions, and no mention of alternatives. The only usage signal is the implicit default of the address parameter, and the definition never says when to prefer a specific address over the configured wallet.

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