Skip to main content
Glama

workspaces_api_keys_list

Keys bound to this workspace: name, scopes, enabled flag and when each was created and last used. The key itself is masked (first 6 and last 4 characters). Account-wide keys are listed by account_api_keys_list.

Method: GET /api/v1/workspaces/{workspace_sqid}/api-keys/

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return per page.
offsetNoThe initial index from which to return the results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose a meaningful behavioral trait: key values are masked to first 6 and last 4 characters, which affects how results can be used. It also lists the returned attributes, but does not mention ordering, pagination defaults, or permission requirements for viewing keys.

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 tight sentences plus the endpoint line: content is front-loaded, the field list is compact, and the alternative route is stated in the second sentence with no filler.

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 read-only list tool with two optional pagination params and no output schema, the description supplies the returned fields, the masking behavior, and a cross-reference to the account-level equivalent. It only lacks pagination/result-count semantics, which is a minor gap given the simple schema.

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?

The input schema documents both `limit` and `offset` at 100% coverage, so the description need not repeat them. It adds no meaning beyond the schema, such as default page size or maximum limit, so the baseline of 3 applies.

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 names a specific resource (API keys bound to this workspace) and enumerates the fields returned (name, scopes, enabled, created/last-used timestamps), plus the exact endpoint GET /api/v1/workspaces/{workspace_sqid}/api-keys/. It also explicitly distinguishes itself from the account-wide key listing, so scope 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent elsewhere for account-wide keys via `account_api_keys_list`, which is a real when-to-use alternative. It does not state any exclusions or preconditions (e.g., permissions needed to read keys), so it falls short of the full when/when-not treatment.

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.