Skip to main content
Glama

Создать или изменить дело

cases_save

Create a new case or update an existing one by changing its name, description, emoji, appearance, settings, or archive status; omit the case to create a new owned case with five roles.

Instructions

Без указания дела создаёт новое (вы становитесь владельцем, разворачиваются пять ролей: владелец, администратор, конструктор, оператор, наблюдатель). С указанием — меняет название, описание, знак и оформление или убирает дело в архив.

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": "cases_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
caseNoКакое дело менять. Не указывайте, чтобы создать новое.
nameNoНазвание дела.
emojiNoЗнак дела, например 🛍. По умолчанию ◆.
accentNoОформление: platinum, signal, aurora, ultra, ember, moss, rose.
archivedNoУбрать дело в архив или вернуть из него. Только при изменении.
settingsNoНастройки дела: карта целиком.
descriptionNoОписание; null — очистить.
template_keyNoТолько создание: ключ из operbots_catalog what=case_templates.
include_examplesNoТолько создание: добавить примеры шаблона. По умолчанию true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • addedInput schema / properties / include_examples
      Added value: +{
      +  "description": "Только создание: добавить примеры шаблона. По умолчанию true.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / template_key
      Added value: +{
      +  "description": "Только создание: ключ из operbots_catalog what=case_templates.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed5 schema fields changedv0.2.0
    • addedInput schema / properties / description / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2000,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / description / description
      Previous value: -"Описание."New value: +"Описание; null — очистить."
    • removedInput schema / properties / description / maxLength
      Removed value: -2000
    • removedInput schema / properties / description / type
      Removed value: -"string"
    • addedInput schema / properties / settings
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Настройки дела: карта целиком.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
  3. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only mark this as non-read-only, open-world, non-idempotent, non-destructive; the description goes further by disclosing a real side effect — that creation makes the caller owner and provisions five named roles — and by enumerating exactly which attributes a modification touches. It does not say what is returned or whether repeated saves of the same values are safe, so it stops short of full behavioral disclosure.

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?

Two compact sentences with the mode split front-loaded as the first clause, so the most consequential decision (create vs. update) is read first. No filler, no repetition of the title.

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 nine-parameter, zero-required mutation tool with a nested free-form `settings` object and no output schema, the description covers the mode logic and creation side effects well. The main gap is that, with no output schema present, the description says nothing about what a successful save returns (e.g. the case identifier), which the agent may need to chain follow-up calls.

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 description coverage is 100%, so every one of the nine parameters is already documented, including the enum-like `accent` values and `template_key`'s create-only constraint. The description reinforces the `case` and `archived` semantics but adds no syntax, format, or default information beyond the schema, so the baseline of 3 applies.

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 description states a specific verb+resource pair and splits it into two clearly delineated modes: with no `case` it creates a new case (you become owner, five roles are provisioned), and with `case` it modifies name/description/emoji/appearance or archives it. An agent can tell immediately this is the save/create-or-update tool and not the delete, get, or list sibling.

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 create-vs-modify branch is stated explicitly and tied to a concrete input condition (omit `case` to create, supply it to change), and archiving is claimed by this tool rather than a sibling. What is missing is any explicit routing to alternatives for the adjacent intents — e.g. permanent removal (cases_delete) or reading a case (cases_get).

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