Skip to main content
Glama

List secrets

list_secrets
Read-onlyIdempotent

List the secrets belonging to the authenticated tenant (metadata only — never the secret value). A secret is a stored credential (API key, token) that an api template references by slug in its auth block to inject on outbound calls. Use this to discover which secrets exist so you can wire an api template's auth.secret to the right slug. If the secret you need does not exist yet, send the user to https://tessryx.io/dashboard/secrets to create it — secrets cannot be created or set through this assistant.

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

Input Schema

NameRequiredDescriptionDefault
page_sizeNomaximum number of secrets to return in this page
page_tokenNotoken from a previous response's next_page_token to fetch the next page
slug_prefixNoonly return secrets under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)

Output Schema

NameRequiredDescriptionDefault
secretsYes
next_page_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug_prefix / description
      Previous value: -"only return secrets whose slug starts with this prefix"New value: +"only return secrets under this FOLDER path (matched on whole '/'-delimited segments, NOT as a raw string prefix), e.g. 'blog' (trailing slash optional) returns everything under blog/. A partial segment matches nothing: 'bl' will NOT match 'blog/post'; use the full segment(s)"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, and the description adds the behavior that matters most and is not in the annotations: only metadata is returned and the secret value is never exposed. It further discloses the capability boundary (no create/set path, dashboard required), which annotations do not convey.

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?

Three sentences, front-loaded with the action and the security constraint ('metadata only — never the secret value') before the definitional aside and the escalation path. No filler, no repetition of the title.

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?

A low-complexity, 3-optional-parameter read tool with full schema coverage and an output schema, so return-format explanation is unnecessary. The description supplies the domain context, the constraint, and the off-ramp for the missing-resource case, leaving nothing an agent needs in order to call it correctly.

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 description coverage is 100%, including the tricky segment-matching semantics of slug_prefix and the page_token contract, so the schema already carries parameter meaning and the baseline is 3. The description's reference to wiring 'auth.secret to the right slug' gives useful context for why slugs matter, but it does not add format or matching detail beyond the schema.

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 gives a specific verb and resource ('List the secrets belonging to the authenticated tenant') plus an explicit scope limit ('metadata only — never the secret value'). It also defines the domain object ('a stored credential (API key, token) that an api template references by slug in its auth block'), so an agent understands what a secret is without opening another tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It states the selecting condition directly: 'Use this to discover which secrets exist so you can wire an api template's auth.secret to the right slug.' It also covers the negative case — if the secret is absent, route the user to the dashboard URL — and explicitly rules out creation via the assistant, which pre-empts any attempt to reach for a create sibling.

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