Skip to main content
Glama

List connected agents

key_list
Read-onlyIdempotent

List the agents connected to your account: each key's id, name, creation and last-use times, whether it is the one you are using (current), for a connector (a chat app connected through OAuth) its client, how many browsers its sign-in links hold signed in (browser_sessions; revoking the key signs them out), and its access (all workspaces, or the workspaces it may read or change). Never returns a key itself.

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

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.

Output Schema

NameRequiredDescriptionDefault
keysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / keys / items / properties / access
      Added value: +{
      +  "oneOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "mode": {
      +          "const": "all",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "mode"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "mode": {
      +          "const": "limited",
      +          "type": "string"
      +        },
      +        "workspaces": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "id": {
      +                "format": "uuid",
      +                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +                "type": "string"
      +              },
      +              "level": {
      +                "enum": [
      +                  "read",
      +                  "write"
      +                ],
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "slug": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "slug",
      +              "name",
      +              "level"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "mode",
      +        "workspaces"
      +      ],
      +      "type": "object"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / keys / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "created_at",
      -  "last_used_at",
      -  "current",
      -  "connector",
      -  "browser_sessions"
      -]New value: +[
      +  "id",
      +  "name",
      +  "created_at",
      +  "last_used_at",
      +  "current",
      +  "connector",
      +  "browser_sessions",
      +  "access"
      +]
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description still adds real context: it never returns key material, and it discloses that browser_sessions counts will be signed out if the key is revoked — a cross-tool consequence an agent would otherwise miss. It stops short of describing pagination, ordering, or size limits.

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?

Purpose is front-loaded and every clause adds information — field list, security caveat, revocation side effect. It is a single dense sentence with stacked parentheticals, which is slightly harder to scan than a short bulleted breakdown, but there is no filler.

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 no-required-parameter read tool with a full output schema, the description covers the essentials: what is listed, what fields matter, what is deliberately never returned, and a related destructive consequence. The only gap is when-to-use guidance, which is minor here given the unambiguous verb.

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

Parameters3/5

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

Schema coverage is 100% and the sole parameter is an optional 'why' that the schema already documents as unrecorded. The description says nothing about it, so it neither helps nor misleads; the baseline of 3 applies when the schema carries the burden.

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?

Opens with a specific verb+resource ('List the agents connected to your account') and enumerates exactly what each entry carries, so an agent knows the shape of the result before calling. It does not explicitly name key_revoke as the mutating counterpart, though the aside about revoking signing browsers out gestures at it.

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?

Use is only implied: you call this when you need to inspect connected agents/keys. There is no statement of when to prefer it over siblings (e.g. key_revoke for changing state, connection_list for OAuth connectors) and no preconditions or exclusions are given.

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.