Skip to main content
Glama

MySaaS Blog

List agent connections

list_agent_connections
Read-onlyIdempotent

This connection's rights (scopes), connection date, last call, calls in the last 24 hours and active sessions. With the agents:read scope, every AI agent connected to the account (OAuth connections and agent keys). No tokens or secrets; names are declared by each client or written by the user.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteNo
scopeYes
connectionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful details beyond that: no tokens or secrets are exposed, and client names are either declared by clients or written by the user.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and mostly free of filler, but the first sentence is a fragment that lists fields rather than front-loading the tool's purpose. The phrase 'This connection's' is also ambiguous in a tool that lists multiple connections.

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, read-only listing tool with annotations and an output schema, the description supplies the key context: the target resource, the required agents:read scope, and the confidentiality boundary. Sibling differentiation remains thin, but the definition is otherwise complete enough to invoke 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?

This tool has zero input parameters, so the baseline is 4. There are no parameter semantics to clarify beyond the empty 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 identifies the resource being listed: every AI agent connected to the account, including OAuth connections and agent keys, and mentions the returned fields such as scopes, dates, calls, and sessions. It is clear enough for a listing tool, though it never explicitly says 'list' and does not distinguish itself from siblings such as list_agent_activity.

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?

The description states the agents:read scope requirement, which is useful usage context. However, it gives no explicit when-to-use guidance, no exclusions, and no comparison to alternatives.

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