Skip to main content
Glama

Set Default Credential

credential_default
Idempotent

Set the default value for a multi-value credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCredential name (e.g. "ios_app_id").
labelYesLabel of the entry to make default (e.g. "Production").
contextNo"personal" or "team:<id>". Defaults to personal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already indicate a non-read-only, idempotent, non-destructive operation, and the description does not contradict them. However, the description adds no behavioral detail beyond the action itself, such as whether the previous default is replaced or whether the referenced credential must already exist. This is acceptable but thin given the annotations cover the safety profile.

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?

The description is a single, direct sentence with no redundant wording. It front-loads the verb and object, making the core operation immediately clear.

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?

For a low-complexity tool with fully documented parameters and annotations covering safety and idempotency, the description is mostly complete. Minor gaps remain around behavioral consequences, such as overwriting the current default, and whether the credential entry must already exist.

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?

The input schema has 100% description coverage for name, label, and context, so the schema already documents each parameter. The description does not add any parameter-level meaning beyond what the schema provides, which aligns with the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Set') and resource ('default value for a multi-value credential'), which clearly identifies the tool's purpose. It is distinguishable from sibling tools like credential_save and credential_delete by the concept of a default entry, though it does not explicitly name those alternatives.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as credential_save, credential_list, or credential_delete. It does not state prerequisites, such as the credential needing multiple saved entries, nor does it explain when setting a default is appropriate.

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.