Skip to main content
Glama

Change model connections and choices

update_ai_settings
DestructiveIdempotent

Configure the AI model connections that draft Slatebox slates: add, change, or remove cloud and OpenAI-compatible endpoints, then map features to a connection per user, team, or server.

Instructions

Add, change or remove the model connections the Slatebox agent drafts with, and choose which connection each feature uses.

Set AI. Your own or your team's AI: adds or changes connections (a cloud provider with its key, or any OpenAI-compatible endpoint with its address, optional key and model), removes some, and chooses which connection each feature uses. level me changes yours, team your team's (team admins); level server only turns own AI on or off for everyone (ownProviders, administrators). A choice names me:, team:, or builtin for this server's model (set in Admin → AI control). Keys are stored encrypted and never returned. Returns the settings as ai.get does. A token needs ai:admin as well for level team or server. Own AI is optional, on Slatebox Cloud and self-hosted alike. On Slatebox Cloud requests it serves spend no Slatebox credits, and an address must be public https.

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": {
      "level": "<level>"
    },
    "name": "update_ai_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
useNoWhich connection each feature uses. An unset feature follows the one it belongs to (workshop follows chat), and default serves every feature not named. Its full type is long and is in describe, methods ["ai.update"].
levelYesme (yours), team (team admins) or server (administrators).
removeNo
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
connectionsNo
ownProvidersNo
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations the description discloses a confirmation handshake (confirm plus idempotencyKey from a confirmation_required result), key handling (stored encrypted and never returned), admin scope limits for level server, and Cloud-specific constraints (no Slatebox credits spent, address must be public https). These are behaviors an agent could not infer from the annotations or schema.

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

Conciseness3/5

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

The scope sentence is front-loaded well, but the body is a run of compressed clauses ('level me changes yours, team your team's (team admins); level server only turns own AI on or off...') and the opening 'Set AI. Your own or your team's AI:' plus the second sentence restate the first. Information density is high, yet the phrasing costs readability.

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 7-parameter nested mutation tool with no output schema, the description covers permissions, confirmation flow, return value ('Returns the settings as ai.get does'), and hosting constraints. Remaining gaps are minor: the remove semantics and the use-object shape are left to the schema and to describe.

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 coverage is 57%, and the description does add real meaning for level (three distinct scopes with different authority) and the choice string format (me:<name>, team:<name>, builtin). However it leaves the remove parameter unaddressed and defers use to an external 'describe' lookup, so it only partially compensates for the coverage gap.

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 opening sentence names a specific verb set (add, change, remove) plus a second action (choose which connection each feature uses) against a named resource (model connections for the Slatebox agent). It also implicitly separates itself from the read sibling by saying it 'Returns the settings as ai.get does', so an agent knows this is the mutation counterpart.

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?

The description tells the agent which level value applies to which scope (me = yours, team = your team's under team admins, server = administrators only, and only ownProviders), and states that a token needs ai:admin for level team or server. That is concrete when-to-use and prerequisite guidance, but it never explicitly states when to call get_ai_settings instead of this tool.

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

Deploy Server

Other Tools