Skip to main content
Glama
bartest5

Alpaca MCP Server

by bartest5

get_open_position

Retrieve formatted details for any open trading position using its symbol or asset ID, enabling quick assessment of current holdings.

Instructions

Retrieves and formats details for a specific open position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbol_or_asset_idYessymbol or assetId

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations are absent, so the description carries the burden. It indicates a read operation via 'Retrieves' and implies no mutation, but it does not disclose behavior on missing positions, authentication requirements, or any formatting details. This is a minimal but not misleading description.

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?

The description is a single concise sentence that earns its place without fluff. It is appropriately sized for a simple retrieval tool.

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 simple nature of the tool, one parameter, and an output schema that covers return structure, the description is mostly complete. However, it lacks any contextual guidance on when to prefer this over get_all_positions, leaving a minor gap.

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?

The input schema already fully describes the parameter with 100% coverage ('symbol or assetId'). The description adds no additional parameter semantics beyond the generic reference to a 'specific open position'.

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?

The description uses the verb 'Retrieves' and specifies 'details for a specific open position', clearly distinguishing it from sibling tools like get_all_positions. The term 'formats' adds a hint about output structure, though it's slightly vague. Overall, it states a specific verb and resource.

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 usage guidance is provided. The description does not mention when to use this tool instead of getting all positions or closing a position, nor does it specify prerequisites or exclusions.

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/bartest5/alpacahq_alpaca-mcp-server'

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