Skip to main content
Glama

AI Receptionist & Answering Service (OsmO)

Update Assistant

update_assistant
Destructive

Use this when the user wants a different receptionist 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. Without confirmed:true nothing changes: it returns confirmation_required with the change, from and to. With confirmed:true it returns ok with current, or refused with the reason when the save fails (as when that assistant does not speak the language). An assistant get_assistant does not list returns refused and changes nothing. 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.8/5.0
Behavior5/5

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

Beyond the destructiveHint/readOnlyHint annotations it spells out the real behavioral contract: nothing changes without confirmed:true, the unconfirmed call returns confirmation_required with from/to, the confirmed call returns ok with current or refused with a reason, and failure cases (unknown assistant, language not spoken) are named. The 'nothing changes without confirmed' semantics are consistent with destructiveHint=true, not contradictory.

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?

Usage comes first, then parameters, then the confirmation/return mechanics, then the scope boundary — well front-loaded with no filler. A couple of sentences are dense run-ons ('With confirmed:true it returns ok with current, or refused with the reason when the save fails'), but every sentence carries distinct 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?

There is no output schema, and the description compensates by describing every return state (confirmation_required, ok, refused) and their payloads. For a three-parameter mutation tool it covers trigger, prerequisites, gating, failure modes and scope boundaries, leaving nothing an agent needs before calling it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns one more by explaining the partial-update contract in prose ('whatever is left out stays') and by tying confirmed to 'an earlier call with the same arguments', which is the detail that determines whether the confirmation actually applies. It does restate the enum labels, which the schema already carries.

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 the exact outcome: swap which receptionist answers calls, or change that assistant's language. It is a specific verb+resource statement that an agent can match to a user request without opening the schema, and it implicitly separates this from get_assistant (read) by naming that sibling as the source of ringgAgentId and language values.

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?

It gives an explicit trigger ('when the user wants a different receptionist... or the same one in another language') and an explicit out-of-scope note: names, the greeting and the voice are changed in the OsmO app, so the agent knows not to attempt those here. It also points to get_assistant as the prerequisite for valid ids and languages.

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.