Skip to main content
Glama

Поправить выключенный шаг правила

update_sales_rule
Idempotent

Поправить шаг правила, пока он выключен: только присланные поля. Включённый шаг работает на людях, его меняет только владелец в кабинете: ответ 409.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo
eventNo
actionNo
tag_idNo
rule_idYes
stage_idNo
funnel_idNo
task_daysNo
task_textNo
lost_reasonNo
delay_minutesNo
target_tag_idNo
skip_if_repliedNo
target_stage_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses useful behavioral details: only submitted fields are updated, enabled steps are protected, and the API responds with 409 in that conflict case. This adds real context without contradicting the annotations.

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?

The description is two short sentences with no filler: it front-loads the core constraint ('only sent fields while disabled') and then adds the 409 caveat. Every clause carries useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete about the disabled/enabled constraint but insufficient for a 14-parameter mutation tool with no output schema and no parameter descriptions. It does not explain what the fields mean, how they combine, or what a successful response looks like.

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

Parameters2/5

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

With 14 parameters and 0% schema description coverage, the description needed to compensate by explaining or disambiguating field semantics. It only says 'only sent fields' and leaves fields like goal, event, action, target_tag_id, delay_minutes, and others unexplained. rule_id is required in the schema, but no additional parameter meaning is provided.

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 names a concrete operation — editing a rule step — and adds the scoping condition 'пока он выключен' (while it is disabled). This clearly distinguishes it from sibling tools like create_sales_rule and update_sales_stage without requiring schema inspection.

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 description explicitly states that the tool should be used for disabled rule steps and that enabled steps return 409 and can only be changed by the owner in the dashboard. It provides a clear when-not condition, though it does not name a specific sibling alternative.

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.

Resources