Skip to main content
Glama

List Broker Accounts

list_brokers
Read-onlyIdempotent

List all connected broker accounts and wallets (not Alpaca-only). Each broker row has display_label (broker · paper|live · •••••last5) and a public account_ref string. Pass account_ref as broker_account_id; never pass an integer id or reuse one from get_policy. Prefer paper/demo. If none connected: https://gogi.ai/voice-agent.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNo
brokersNo
messageNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / description
      Previous value: -"Structured Gogi result. Error responses include error and message fields."New value: +"Structured result. Error responses include error and message."
    • addedOutput schema / properties
      Added value: +{
      +  "brokers": {
      +    "type": "array"
      +  },
      +  "error": {
      +    "type": "string"
      +  },
      +  "message": {
      +    "type": "string"
      +  },
      +  "success": {
      +    "type": "boolean"
      +  }
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Structured Gogi result. Error responses include error and message fields.",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds value by disclosing the row shape (display_label composition and public account_ref string) and the empty-state fallback URL. It does not describe ordering, pagination, or whether disconnected/stale brokers appear, so it goes only modestly beyond annotations.

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?

Front-loaded with what is listed, then the row format, then the id-handling rules, then the empty-state fallback. Every sentence carries information; the phrasing is somewhat terse and clause-heavy, but nothing is wasted.

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?

A zero-parameter, read-only list tool with annotations and an output schema needs little more than scope, id-handling rules, and default behavior, all of which are present. An agent has everything required to call it and to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. The description still adds useful semantics by mapping the returned account_ref to the broker_account_id expected by other tools and warning against integer ids, which reduces misuse.

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?

Uses a specific verb and resource ('List all connected broker accounts and wallets') and explicitly scopes it with '(not Alpaca-only)', which prevents an agent from assuming a narrower Alpaca-only result set. The purpose is unambiguous without opening the schema.

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?

Gives concrete usage rules: pass account_ref as broker_account_id, never pass an integer id, never reuse an id from get_policy, and prefer paper/demo. It also supplies a fallback path when no accounts are connected. It lacks an explicit 'use this instead of X' comparison, but the do/don't guidance is strong.

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