Skip to main content
Glama

aiworkhub_dashboard_model_settings_update

USER WRITE: update one provider, adapter, or model routing switch for the active repository.

Instructions

USER WRITE: update one provider, adapter, or model routing switch for the active repository.

Use this to enable or disable a provider, transport adapter, or specific model leaf; call aiworkhub_dashboard_settings first to read model_policy and its current revision, or use aiworkhub_dashboard_settings_update for repository feature flags. Acquires the model-settings lock, verifies expected_revision, and atomically persists the updated routing configuration.

Input Schema

NameRequiredDescriptionDefault
modelNooptional str model identifier under adapter (default None); omit to toggle the provider or adapter switch.
adapterNooptional str transport adapter identifier (default None); required when model is specified.
enabledYesbool True to enable or False to disable the selected provider, adapter, or model route.
providerYesstr non-empty provider identifier to configure.
expected_revisionYesint current model_settings revision; mismatches fail closed and report current_revision.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.12.62
    • addedInput schema / properties / adapter / description
      Added value: +"optional str transport adapter identifier (default None); required when model is specified."
    • addedInput schema / properties / enabled / description
      Added value: +"bool True to enable or False to disable the selected provider, adapter, or model route."
    • addedInput schema / properties / expected_revision / description
      Added value: +"int current model_settings revision; mismatches fail closed and report current_revision."
    • addedInput schema / properties / model / description
      Added value: +"optional str model identifier under adapter (default None); omit to toggle the provider or adapter switch."
    • addedInput schema / properties / provider / description
      Added value: +"str non-empty provider identifier to configure."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the write nature, that a model-settings lock is acquired, that expected_revision is verified, and that persistence is atomic. It stops short of stating auth/permission requirements or whether a toggle is reversible, which are the remaining gaps for a mutation tool.

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?

Front-loaded 'USER WRITE' marker, then a purpose sentence, then usage/alternatives, then concurrency behavior. Two dense sentences with no wasted text and correct ordering of decision-relevant information.

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?

Output schema exists, so return values are already covered; the description supplies the concurrency, locking, and alternative-tool context an agent needs before calling a write operation. Nothing essential is missing for correct invocation.

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 100%, so each parameter (including the model-under-adapter relationship and expected_revision fail-closed behavior) is already documented. The description reinforces the three-level switch concept (provider → adapter → model leaf) but adds little syntax or meaning beyond the schema, so the baseline 3 holds.

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 (update) plus resource (one provider, adapter, or model routing switch) and scope (active repository). The 'USER WRITE' prefix and the reference to 'model routing switch' clearly separate it from aiworkhub_dashboard_settings_update (repository feature flags) without needing the schema open.

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

Usage Guidelines5/5

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

Explicitly names what it is for (enable/disable a provider, transport adapter, or model leaf) and gives alternatives: call aiworkhub_dashboard_settings first to read model_policy/revision, or use aiworkhub_dashboard_settings_update for feature flags. Prerequisite and sibling routing are both spelled out.

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