Skip to main content
Glama
bartest5

Alpaca MCP Server

by bartest5

get_account_activities

Retrieve account activities such as fills, dividends, and transfers. Filter by date or activity type to analyze trading history.

Instructions

Returns a list of account activities such as fills, dividends, and transfers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoFilter activities by their creation date (created_at), not the activity's settlement date. For non-trade activities such as fees, the creation date is typically the day after the trade date (in UTC). Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
afterNoGet activities created after this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
untilNoGet activities created before this date. Both formats YYYY-MM-DD and YYYY-MM-DDTHH:MM:SSZ are supported.
categoryNoThe activity category. Cannot be used with "activity_types" parameter.
directionNoThe chronological order of response based on the activity datetime.desc
page_sizeNoThe maximum number of entries to return in the response.
page_tokenNoToken used for pagination. Provide the ID of the last activity from the last page to retrieve the next set of results.
activity_typesNoA comma-separated list of activity types used to filter the results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states that a list is returned, without mentioning pagination, default ordering, or that this is a read-only operation. Key behaviors like the 'direction' default and page_token usage are omitted from the description, though they appear in the schema.

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 is front-loaded with the core purpose. It contains no redundant information and earns its place by clearly stating what the tool does.

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?

Despite having a rich schema and output schema, the description is minimal. It does not clarify how this tool relates to the sibling get_account_activities_by_type, nor does it explain key behaviors like pagination or date filtering. This is inadequate for a tool with 8 parameters and a complex 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?

The schema covers 100% of the parameters with detailed descriptions, so the baseline is 3. The tool description adds no additional parameter semantics beyond what the schema already provides, so the score remains at the baseline.

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 a specific verb ('Returns') and identifies the resource ('account activities') with examples. It is clear but does not explicitly distinguish from the sibling tool get_account_activities_by_type, which also returns account activities but in a more filtered manner.

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?

The description provides no guidance on when to use this tool versus alternatives like get_account_activities_by_type. It does not mention whether this returns all activities or how to filter, leaving the agent to infer usage from the parameter schema.

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