Skip to main content
Glama

ColossalCapital — Akashic Corpus & Agentic Platform

Set LLM Key

set_llm_key
Idempotent

Store a BYOK LLM provider key in the encrypted vault. Validated against the provider before storing. scope='org' stores an org-wide key (admin-only). Requires an account — call register_account or authenticate first.

Input Schema

NameRequiredDescriptionDefault
scopeNoentity
api_keyYes
providerYes
validateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds meaningful behavioral context beyond the annotations: encrypted vault storage, provider-side validation, and the admin-only org scope. However, 'Validated against the provider before storing' is stated unconditionally while the schema exposes a validate boolean defaulting to true, which makes the description slightly misleading if the caller passes validate=false.

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?

Three short sentences, front-loaded with the core action, followed by behavior and then the prerequisite. Every sentence adds value and there is no filler.

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?

Given an output schema exists, the description need not explain returns. It covers storage location, validation, admin restriction, and auth prerequisites, but the provider field's expected values remain unclear for a tool whose primary argument is 'provider'.

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?

Schema description coverage is 0%, so the description must carry the parameter burden. It explains scope='org' and implies validation behavior, but leaves provider values, api_key format, and the default 'entity' scope unexplained.

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 object: 'Store a BYOK LLM provider key in the encrypted vault.' It is clearly distinguishable from sibling tools like list_llm_keys, remove_llm_key, and test_llm_key, which all operate on the same resource with different verbs.

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?

Explicitly states the prerequisite (call register_account or authenticate first) and the admin-only condition for scope='org'. It does not explicitly say when to use this versus test_llm_key, but the prerequisite routing is strong.

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