Skip to main content
Glama

AI Phone Calls & AI Receptionist (OsmO)

Update Assistant

update_assistant
Destructive

Use this when the user wants a different assistant to answer their calls, or the same one in another language. Takes ringgAgentId, language ('en' English, 'hi' Hindi, 'es' Spanish) or both; whatever is left out stays as it is. Without confirmed:true nothing changes: it returns confirmation_required with the change, from and to, each with ringgAgentId, name and language. With confirmed:true it returns ok with current, the ringgAgentId and language now in use; when the save fails, as when that assistant does not speak the language, it returns refused with the reason. Neither field, or an assistant get_assistant does not list for this user, returns refused with a message and changes nothing; an unknown account returns not_found. Names, the greeting and the voice are changed in the OsmO app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_assistant"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNo'en' English, 'hi' Hindi or 'es' Spanish, one the chosen assistant speaks (get_assistant lists each assistant's languages); omit to keep the current language.
confirmedNotrue means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned.
ringgAgentIdNoA ringgId from get_assistant; omit to keep the current assistant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"'en' for English or 'hi' for Hindi; omit to keep the current language."New value: +"'en' English, 'hi' Hindi or 'es' Spanish, one the chosen assistant speaks (get_assistant lists each assistant's languages); omit to keep the current language."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "hi"
      -]New value: +[
      +  "en",
      +  "hi",
      +  "es"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / language / description
      Added value: +"'en' for English or 'hi' for Hindi; omit to keep the current language."
    • changedInput schema / properties / ringgAgentId / description
      Previous value: -"A ringgId from get_assistant."New value: +"A ringgId from get_assistant; omit to keep the current assistant."
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true) by disclosing the two-phase confirm protocol, the exact result states (confirmation_required with from/to, ok with current, refused with reason, not_found), and that absence of confirmed:true means no mutation occurs. It also notes that names, greeting and voice are out of scope, set in the OsmO app.

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?

Front-loads the trigger and the confirm gate, then enumerates outcomes efficiently. There is some duplication of the language enum and of the 'omit keeps current' rule already present in the schema, which costs a little density.

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?

With no output schema, the description carries the full burden of return-value semantics and does so completely for every outcome path, including the refusal cause (assistant does not speak the language) and the not_found case for unknown accounts.

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% and each parameter (language enum, confirmed, ringgAgentId) is already documented there. The description restates the language values and the partial-update rule ('whatever is left out stays as it is'), adding only marginal meaning over the schema.

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?

Names a specific verb and resource: switching which assistant answers calls, or changing its language. It also distinguishes itself implicitly from get_assistant (the source of ringgAgentId) and from the settings/rule updaters by scoping changes to assistant identity and language.

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?

Opens with an explicit trigger ('Use this when the user wants a different assistant... or the same one in another language') and states the prerequisite that ringgAgentId comes from get_assistant. It does not explicitly exclude adjacent tools such as update_settings for other configuration, so full routing guidance is slightly incomplete.

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.