Skip to main content
Glama

update_credential

Change a credential, by the id from list_credentials: its name, its value, or who may read it — each on its own, and only what you pass is touched, so taking somebody off the list never needs the value. 'readers' REPLACES the list; noReaders: true empties it. Only the person who attached it and the project's lead may change one: being shown a secret is not being given it to pass on. The answer never carries the value. Do not repeat the value in any text you write — a comment, a description, a merge request, a log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCredential id, from list_credentials.
nameNoA new name. Leave it out to keep the name.
valueNoA new value. Leave it out to keep the value.
readersNoWho else may read it from now on, comma-separated usernames or emails. Replaces the whole list. Leave it out to keep the list.
noReadersNoTrue to leave nobody on the list — the author and the project's lead still read it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/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 does so richly: it discloses partial-update semantics (only what you pass is touched), an authorization constraint (only the attacher and project lead may edit), REPLACES vs empties behavior for the reader list, and that the response never contains the value. It even warns against leaking the secret into other text.

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?

Purpose and the id source are front-loaded, and nearly every sentence adds operational or safety value. It is denser than strictly necessary in places, but no sentence 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 a mutation tool with no annotations and no output schema, the description covers authorization, partial-update behavior, list-replacement semantics, and the return/security posture ('the answer never carries the value'). Nothing an agent needs to call it safely and correctly is missing.

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 value beyond the schema by explaining the 'readers' replace-vs-keep distinction and that removing a reader never requires the value. These are semantic insights the schema states only partially.

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+resource ("Change a credential") and enumerates exactly what is mutable (name, value, readers), while pointing to list_credentials for the id. An agent can distinguish this from create_credential/delete_credential/reveal_credential by the nature of the operation described.

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?

Gives clear operating context: use the id from list_credentials, and pass only the fields to change since untouched fields are preserved. It implies but never explicitly contrasts with add/delete/reveal alternatives, so it stops short of full when/when-not routing.

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