Skip to main content
Glama
credential-use-mcp

credential-use-mcp

by aorizondo

Edit a credential (the user confirms)

cred_edit

Propose edits to a stored credential through a prefilled form so the user can review, adjust, and submit changes while the secret stays hidden.

Instructions

Change a stored credential. The form comes prefilled with its public fields plus the changes you propose (rename, kind, URL, username, header, notes, and a new secret only if you already have it); the user checks, edits and submits. Propose nothing to let the user make the changes. The stored secret is never shown to you.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "cred_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoProposed URL
kindNoProposed kind
nameYesCredential name, as in cred_list
notesNoProposed notes
headerNoProposed header name (API keys)
secretNoProposed new secret, only if you already have it; shown to the user to check
newNameNoProposed new name
usernameNoProposed username

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say it is not read-only, not destructive, not idempotent), the description discloses the real behavior: edits are staged in a prefilled form, a human checks/edits/submits, so nothing is committed until the user acts. It also discloses the important confidentiality constraint that the stored secret is never returned to the agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the purpose and then the confirmation workflow; the parenthetical enumerates the editable fields efficiently. Slight redundancy between 'the user checks, edits and submits' and 'Propose nothing to let the user make the changes', but nothing is wasted.

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?

For an 8-parameter, human-in-the-loop mutation with no output schema, the description covers what an agent needs: what it changes, that changes are proposals pending user confirmation, and that the secret is never exposed. No additional output or permission explanation is required.

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 coverage is 100%, so the baseline is 3, but the description adds meaning the schema cannot: every listed field is a *proposal* the user will review, and omitting all of them is a legitimate invocation that lets the user drive. The secret constraint ('only if you already have it') reinforces the schema rather than merely repeating it.

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 ('Change a stored credential') and immediately frames the mechanism: a prefilled form the user confirms. The verb 'change' alone separates it from cred_add (create) and cred_remove (delete) without needing to name them.

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 states clear operative conditions: propose the fields you want changed, propose nothing to hand the edit entirely to the user, and supply a secret only if you already possess it. It does not explicitly route to siblings such as cred_reveal or cred_add, but the guidance for using this tool is unambiguous.

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