Skip to main content
Glama

List organizations

list_organizations
Read-onlyIdempotent

Retrieve the wallets an account can bill — personal first, then each organization with its ID and name — and see which one is active for new sandboxes.

Instructions

List organizations. The wallets this account can bill: your personal account first, then every organization you belong to, each with its id and name. Either spelling works wherever an org is passed (org, X-Boat-Org, teamId). active marks the wallet new sandboxes bill when a request names none; change it with PATCH /orgs/active.

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_organizations"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile needs no restating. The description adds real value beyond them: the deterministic ordering (personal account first), the meaning of the `active` flag as the default billing wallet, and the accepted identifier aliases. It does not cover error cases or what happens when the account belongs to no organizations.

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?

Three front-loaded sentences with no filler: purpose, result shape and ordering, then the alias/active-flag detail. The identifier-alias sentence is slightly tangential to listing but earns its place by helping the agent chain into org-scoped calls.

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?

With no output schema present, the description carries the burden of describing the return value, and it does: a list of billable wallets, personal first, each with id and name, plus an `active` marker. For a zero-parameter read tool this is everything an agent needs to select and call it correctly.

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?

There are zero input parameters, so the baseline is 4 and the schema offers nothing to compensate for. The description does not need to explain any parameter, though it usefully notes which identifier spellings other calls accept.

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 opens with a specific verb and resource ('List organizations') and immediately defines the resource in domain terms: the wallets the account can bill, personal account first, then every org the user belongs to. Sibling tools all operate on clearly different resources, so confusion is unlikely, though the description never explicitly contrasts itself with any alternative.

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?

It gives strong implicit usage context by stating the ordering and what the `active` marker means, and it routes the mutation case elsewhere ('change it with `PATCH /orgs/active`'), which tells the agent this tool is read-only discovery. It stops short of an explicit when-to-call statement or named sibling alternative.

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