Skip to main content
Glama

Test Broker Account Connection

test_broker_account
Read-only

Test the connection to a broker account by attempting to authenticate and retrieve the list of trading sub-accounts. Returns success with available accounts if connection works, or an error message if it fails. Use this after creating or updating credentials to verify.

Input Schema

NameRequiredDescriptionDefault
accountIdYesThe broker account ID to test

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint, so the safety profile is covered. The description adds real value beyond that by disclosing the return behavior: it yields available sub-accounts on success or an error message on failure. It does not mention auth failure modes or rate limits, so not a 5.

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?

Three tight sentences: what it does, what it returns, and when to use it. The core purpose is front-loaded and every sentence earns its place with zero redundancy.

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

Completeness5/5

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

There is no output schema, so the description correctly compensates by describing the success and failure return shapes. Combined with 100% schema coverage on the sole parameter and annotations covering the safety profile, an agent has everything needed to call it correctly.

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% and the single accountId parameter is documented in the schema, so the schema carries the burden. The description adds no syntax or format detail beyond what is already structured; baseline 3 is appropriate.

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 (test) and resource (broker account connection), and explains the mechanism: authenticate and retrieve trading sub-accounts. This clearly separates it from data-fetch siblings like get_broker_accounts, though no sibling is named explicitly.

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?

"Use this after creating or updating credentials to verify" gives a concrete triggering condition, which is genuinely useful next-step guidance. It stops short of naming alternatives (e.g., connect_ctrader) or stating when not to use it, so it is not a full 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources