Skip to main content
Glama

rx_complete_assignment

Complete, accept, or return for rework an assignment in Directum RX. Updates data and advances the process; irreversible.

Instructions

Выполнить задание от имени пользователя: простое задание завершить, приёмку принять (result=Accepted) или вернуть на доработку (result=ForRework). Без result берётся стандартный результат для типа задания. Меняет данные в RX: задание закрывается, процесс идёт дальше, отменить это нельзя. Сначала посмотрите задание через rx_get_assignment и перескажите пользователю, что будет сделано.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId задания
resultNoрезультат: для простого задания Complete (по умолчанию), для приёмки Accepted (принять, по умолчанию) или ForRework (на доработку); можно по-русски: принять, на доработку, выполнено

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that data in RX is mutated, the assignment closes, the process advances, and the action is irreversible ('отменить это нельзя') plus that it acts on the user's behalf. Annotations already cover the safety profile (readOnly=false, idempotent=false), so this added irreversibility context is genuinely valuable rather than redundant.

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?

Three tightly packed sentences, front-loaded with the action and its modes, then the irreversibility warning, then the prerequisite step. Every clause carries information; nothing is padding.

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 mutation tool with no output schema, the description covers the effect, irreversibility, defaults and the recommended pre-check. It omits any mention of auth/permission requirements or what the response contains, but the core decision-relevant context is present.

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 both parameters are already documented. The description still adds value by clarifying that the default result is derived from the task type rather than a single fixed value, and by tying result values to assignment modes, which is slightly more than the schema states.

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?

States a specific verb ('Выполнить задание от имени пользователя') and enumerates the three concrete outcome modes (complete, Accepted, ForRework), so the agent knows exactly what the call achieves. It is clear but does not explicitly contrast itself with nearby siblings such as rx_abort_task or rx_create_simple_task.

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?

Gives an explicit prerequisite workflow: inspect the assignment first via rx_get_assignment and relay it to the user before acting. It also explains the default-result behavior when no result is supplied, which steers invocation. No explicit 'when not to use' or negative cases are given.

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