Skip to main content
Glama

list_accounts

Shows all configured Google accounts and indicates which ones are authorized with a stored refresh token, helping you verify account access before using Google tools.

Instructions

List configured Google accounts and whether each is authorized (has a stored refresh token).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does add one genuinely useful behavioral detail: "authorized" is defined operationally as having a stored refresh token, so the agent knows what the flag means. It does not state whether the call touches the network, whether it is read-only, or whether unauthorized accounts are still listed, which are the remaining behavioral unknowns for an auth-status tool.

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?

A single sentence with the resource front-loaded and the clarifying parenthetical placed where it disambiguates the key term. Nothing is redundant or padded.

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?

For a zero-parameter, zero-annotation listing tool with no output schema, the description covers both the subject and the salient return value. It stops short of describing the result shape (one entry per account, identifying fields), which is the only thing an agent might still want given the absence of an output schema.

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 there is no parameter semantics to explain and the baseline of 4 applies. The description correctly spends no words on inputs.

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?

The description pairs a specific verb ("List") with a specific resource ("configured Google accounts") and even names the returned attribute (authorization via stored refresh token). No sibling tool covers account configuration or auth state, so the resource class alone makes it distinguishable from the calendar/drive/gmail operations.

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

Usage Guidelines3/5

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

There is no explicit when-to-use or when-not-to-use statement, nor a pointer to alternatives. Usage is only implied by the name and by the fact that authorization status is the return value, leaving the agent to infer that this is the discovery/preflight tool for the other Google integrations.

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