Skip to main content
Glama

list_secrets

Retrieve secrets with their names and IDs from a deepset organization or workspace to get an overview before fetching specific secrets.

Instructions

Lists all secrets available in the user's deepset organization or in a specific workspace.

Use this tool to retrieve a list of secrets with their names and IDs. This is useful for getting an overview of all secrets before retrieving specific ones. :param limit: Maximum number of secrets to return (default: 10) :param after: The cursor to fetch the next page of results

:returns: List of secrets or error message

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

Input Schema

NameRequiredDescriptionDefault
afterNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 full behavioral burden and discloses useful traits: default limit, cursor pagination, return shape, and automatic object-store storage with an object ID. It does not mention permission requirements or rate limits, but it adds substantial context beyond the schema.

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 first sentence is front-loaded and clear, but the description becomes repetitive around output storage and object IDs, repeating the same object-store usage guidance twice. The docstring formatting and extra return/object-store detail make it longer than needed for a two-parameter list tool.

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?

There is no output schema and no annotations, but the description explains the return preview and object-store reference model well. It omits permission/auth context and mentions workspace scoping without a corresponding schema parameter, leaving a minor gap for an agent assessing whether and how to scope the call.

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?

Schema description coverage is 0%, so the description must compensate. It documents both parameters: 'limit' as the maximum number of secrets with a default of 10, and 'after' as the cursor for the next page. It could add cursor format details, but the core semantics are covered.

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 states a specific verb ('Lists') and resource ('secrets') and defines the scope as the user's deepset organization or a specific workspace. It also distinguishes the listing operation from retrieving individual secrets, so an agent can tell it apart from get_secret without opening the schema.

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 says the tool is useful for getting an overview of all secrets before retrieving specific ones, which gives clear usage context. It does not name the sibling get_secret directly or state when-not to use this tool, which keeps it from a 5.

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

Deploy Server

Other Tools