Skip to main content
Glama

list_scoped_keys

Read-onlyIdempotent

List live, non-revoked Agent keys for an organization and return metadata such as ID, prefix, agent ID, label, and creation date without exposing plaintext secrets. Requires an Organization key.

Instructions

List all live (non-revoked) Agent keys for this org. Returns key metadata only (id, prefix, agent_id, label, created_at) — never the plaintext secret. Requires an Organization key.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered; the description goes further by naming the authentication requirement (Organization key) and the explicit security guarantee that plaintext secrets are never returned. That is real added context beyond structured fields, though it says nothing about pagination or result volume for large orgs.

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?

Two short sentences, front-loaded with the scope, then the return shape, then the auth requirement. Every clause carries information an agent would otherwise have to guess.

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 input parameters and no output schema, the description must carry the return contract itself, and it does by enumerating the returned fields (id, prefix, agent_id, label, created_at) and excluding the secret. Nothing essential for correct invocation is missing.

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 per-parameter meaning to convey; the baseline of 4 applies. The description correctly signals that no filtering arguments exist by stating the listing is org-wide and limited to live keys.

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?

States a specific verb and resource ('List all live (non-revoked) Agent keys') plus the org scope, and the 'non-revoked' qualifier distinguishes it from a raw key dump. It does not explicitly name create_scoped_key or revoke_scoped_key as the mutation counterparts, but the read-only listing intent is unambiguous.

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 implied rather than stated: the description clarifies the listing covers only live keys and that an Organization key is required, which tells the agent the prerequisite context. It never says when to call this instead of list_agents or how to follow up with revoke_scoped_key, so the when/when-not guidance is only partial.

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