Skip to main content
Glama

configure_key

Add or update a named API key for a provider, optionally making it the active key radar uses, without deleting your other saved keys.

Instructions

Add or update a named API key. Does not delete other keys on this provider.

Args: provider: Provider key (nvidia, groq, cerebras, minimax, …) api_key: The API key value key_id: Name for this key (e.g. coding-plan, paygo, work). Default 'default'. make_active: If true, this key is the one radar uses. If omitted, the first key stays active.

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": {
      "provider": "<provider>",
      "api_key": "<api_key>"
    },
    "name": "configure_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_idNodefault
api_keyYes
providerYes
make_activeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.15.1
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / key_id
      Added value: +{
      +  "default": "default",
      +  "title": "Key Id",
      +  "type": "string"
      +}
    • addedInput schema / properties / make_active
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Make Active"
      +}
  2. First observedv0.7.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose one useful non-destructive trait ('Does not delete other keys') and the make_active default ('the first key stays active'), but says nothing about whether an existing key_id is overwritten, whether the key is validated against the provider, or whether the value is persisted insecurely.

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?

The lead sentence is front-loaded with purpose and one exclusion, and the Args block maps cleanly to the parameters. The wrapped multi-line explanation for make_active is slightly verbose but every line carries information.

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?

An output schema exists, so return values need not be described, and the description covers all four otherwise-undocumented parameters. Remaining gaps are edge-case behavior (overwrite semantics, invalid provider handling) rather than anything blocking a correct call.

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 description coverage is 0%, so the description must compensate, and it largely does: it glosses all four parameters and adds real meaning — provider examples (nvidia, groq, cerebras, minimax), key_id naming examples and default 'default', and the behavioral consequence of make_active when omitted. Only the provider list remains open-ended ('…') with no closed enumeration.

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?

The description opens with a specific verb and resource ('Add or update a named API key') and immediately bounds the scope ('Does not delete other keys on this provider'). It doesn't compare itself to any sibling tool, but the operation is unambiguous without opening the schema.

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 only implied: an agent can infer this is the tool for registering credentials, and the make_active note hints at multi-key setups. There is no explicit when-to-use/when-not guidance and no mention of prerequisites such as a required first-time setup step.

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