Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

List access tokens

list_tokens
Read-onlyIdempotent

List your account's API tokens and, where your credential permits, its sign-in connections. Tokens include their id, scope, grants, label, creation, expiry, revocation and last-use times, never their values. authorized_computer: true marks a token the turnzero command keeps on a computer it authorized. Its label defaults to that computer's host name. Connections include their id, client, address, sign-in time, last renewal, and expiry, never a token. A token limited by a narrow grant gets its tokens alone. To end a token or connection, use revoke_token with id or connection respectively.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a safe idempotent read, yet the description still adds substantial context: token values and connection secrets are never returned, the exact fields exposed are enumerated, and the authorized_computer flag with its host-name label default is explained. This is behavior an agent could not infer from readOnlyHint alone.

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?

The lead sentence front-loads purpose and scope, and subsequent sentences each add distinct information (field lists, the authorized_computer marker, the narrow-grant caveat, the revoke redirect). It is dense but not padded; only the two parallel field enumerations verge on repetition.

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 available, the description carries the return-value burden and does so thoroughly for both tokens and connections. Combined with coverage of the credential-scope edge case and the follow-up action, an agent has everything needed to call this 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; the schema has nothing to document. The description still earns its place by explaining that output scope is governed implicitly by the credential's grants, which is the only 'parameter-like' variable an agent can control here.

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 uses a precise verb and resource ('List your account's API tokens ... its sign-in connections') and immediately scopes what is and isn't returned. It distinguishes itself from revoke_token by naming that sibling for the mutation case, so an agent can route correctly without opening a 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?

It states the conditional under which connections appear ('where your credential permits') and that a narrowly granted token returns tokens alone, which is real when-to-expect guidance. It also explicitly redirects ending a token or connection to revoke_token with the id/connection argument, though it gives no guidance relative to other read siblings such as read_account.

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