Skip to main content
Glama

List your tokens

list_tokens
Read-only

List the person's API tokens: where each works, when it was made, last used and expires, and which token made it.

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/5.0
Behavior4/5

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

The readOnlyHint and openWorldHint annotations already establish the safety profile, so the description's job is to add context, which it does by detailing the per-token fields returned (workspaces, creation time, last use, expiry, creating token). With no output schema present, this enumeration is the main source of return-value information. It does not cover ordering, whether all tokens are returned at once, or visibility/permission constraints, which keeps it from 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?

A single front-loaded sentence with the action first and the returned fields trailing as a compact list. Every clause contributes information, and nothing is repeated from the title or schema.

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?

For a parameterless, read-only listing tool, the description tells the agent what it returns at field granularity, which is the only substantive thing left unexplained since no output schema exists. Ordering and pagination are the sole minor omissions, which is acceptable at this complexity level.

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 of 4 applies; there is nothing for the description to disambiguate. It correctly avoids inventing parameter-like language such as filtering or pagination arguments that do not exist in the schema.

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 names a specific verb and resource ("List the person's API tokens") and even enumerates what each entry contains: where it works, creation date, last use, expiry, and the originating token. That makes the read-only listing nature unmistakable against siblings like create_token, issue_token, and revoke_token. It stops short of explicitly naming those alternatives, so it is clear but not fully sibling-differentiated.

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?

Usage is only implied: the description states it lists the person's tokens, so an agent can infer this is the discovery/inspection call before create_token or revoke_token. There is no explicit when-to-use statement, no exclusion of alternatives, and no mention of prerequisites such as whether the caller must own the tokens or hold a particular scope.

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