Skip to main content
Glama
credential-use-mcp

credential-use-mcp

by aorizondo

List stored credentials

cred_list
Read-onlyIdempotent

Lists stored credential metadata—name, kind, host, and username—without exposing secrets, so you can identify entries before requesting access.

Instructions

List the stored credentials: name, kind, host and username only, never a secret.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare this read-only, idempotent and non-destructive, so the description doesn't need to restate safety. It adds real value by disclosing the output scope: only metadata fields, never secret material, which is the key behavioral fact an agent needs before listing credentials.

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?

A single front-loaded sentence that names the action, the resource, the returned fields, and the exclusion of secrets. No filler or restated title language beyond what adds meaning.

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?

With no parameters and no output schema, the description must convey what comes back, and it does by listing the four returned fields and excluding secrets. Minor omission: nothing about ordering or volume limits, though with no paging parameters this is unlikely to matter.

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 nothing for the description to explain and no schema gap to compensate for. Baseline 4 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?

States a specific verb and resource ('List the stored credentials') and enumerates the returned fields (name, kind, host, username). The phrase 'never a secret' implicitly draws the boundary against sibling cred_reveal, so an agent can tell which tool returns secrets and which does not.

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: an agent infers this is the enumeration tool for credential metadata and that cred_reveal is needed to get secret material. There is no explicit when-to-use statement or named alternative, so the guidance is adequate but requires inference.

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