Skip to main content
Glama

get_account

Read-onlyIdempotent

Check account equity, free margin, and open positions for a venue to ensure sufficient margin before placing an order.

Instructions

Return equity, free margin, and open positions for a venue. Read-only (does not sign anything that mutates state). Use BEFORE place_order to confirm the account has margin. Requires SIGNER_API_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
venueYesVenue identifier. Must match an entry returned by list_venues — any other value will be rejected by the gateway.
Behavior4/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true. The description adds 'does not sign anything that mutates state' and 'Requires SIGNER_API_TOKEN', which provide extra behavioral context beyond the 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, front-loaded with purpose, then usage context. No fluff, every sentence earns its place. Under 30 words.

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 single parameter and rich annotations, the description covers purpose, usage context, and auth. Missing details about return format could be improved, but overall sufficient for an AI 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 description coverage is 100% with a clear description for the 'venue' parameter (enum, must match list_venues). The tool description does not add additional meaning beyond what the schema already provides, so baseline 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?

Clearly states 'Return equity, free margin, and open positions for a venue.' The verb 'return' and resource 'account snapshot' are specific. It distinguishes from siblings like place_order or list_venues.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says 'Use BEFORE place_order to confirm the account has margin.' Provides clear context and a specific use case. Also mentions read-only and auth requirement.

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/namixai/signer-mcp'

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