Skip to main content
Glama

update_assistant

Update an existing assistant by providing only the fields to change. Use 0 or -1 to clear temperature or max_tokens.

Instructions

Modify an existing assistant.

Provide only the fields to change; empty strings leave text fields unchanged. Use a special sentinel to clear optional values: temperature/max_tokens: pass 0 or -1 to reset to null.

Args: assistant_id: Assistant id to update. name: New name. description: New description. provider: New provider id. model: New model name. system_prompt: New system prompt. temperature: New temperature (0.0-2.0); -1 clears. max_tokens: New max tokens; 0 clears. capabilities: JSON list replacing current capabilities. permissions: JSON list replacing current permissions. metadata: JSON object replacing current metadata. enabled: True/False to enable or disable.

Returns: JSON result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
modelNo
enabledNo
metadataNo
providerNo
max_tokensNo
descriptionNo
permissionsNo
temperatureNo
assistant_idYes
capabilitiesNo
system_promptNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/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 behavioral burden, and it does meaningful work: empty strings leave text fields unchanged, and capabilities/permissions/metadata are explicitly lossy replacements of current values. It omits auth/permission requirements, error behavior on an invalid assistant_id, and reversibility, which keeps it from a 5.

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 critical no-op/sentinel rules are front-loaded before the Args block, and the per-parameter lines are terse given the 0% schema coverage. Minor redundancy: the header says both temperature and max_tokens accept "0 or -1" to clear, while the per-field lines assign -1 to temperature and 0 to max_tokens, which reads as inconsistent.

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 "Returns: JSON result" is acceptable, and the parameter coverage is thorough. The remaining gap is contextual routing: the overlap with enable_assistant/disable_assistant is left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 12 parameters, so the description must compensate entirely, and it does — every parameter is named with its meaning, plus the non-obvious semantics (empty string = no change; -1 clears temperature, 0 clears max_tokens). This goes well beyond what the bare schema conveys.

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 opening line states a specific verb and resource ("Modify an existing assistant"), which cleanly separates it from create_assistant, delete_assistant, and get_assistant. It stops short of explicitly routing against the enable_assistant/disable_assistant siblings that overlap with its own `enabled` field.

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?

It gives a real usage rule — "Provide only the fields to change" — which is genuinely actionable. However, it never says when to prefer this tool over enable_assistant/disable_assistant (which toggle the same state exposed via `enabled`), and no prerequisites or exclusions are stated.

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