Skip to main content
Glama

Finalizar tarefa atribuída a pessoa por código da instância e código original/integração ou apelido

zeev_put_assignments_instance_by_instanceid_by_code
Idempotent

Completes an assigned Zeev task using instance ID and task code, submitting action results, form fields, messages, or attachments to finish the pending assignment.

Instructions

Finalizar tarefa atribuída a pessoa por código da instância e código original/integração ou apelido do elemento da tarefa pendente (Auth) https://kb.stoque.com.br/zeev/apis/all/assignments/finish Endpoint: PUT /api/2/assignments/instance/{instanceid}/{code} Categoria: Assignments / Atribuições de atividades a pessoas

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instanceId": "<instanceId>",
      "code": "<code>",
      "body": "<body>"
    },
    "name": "zeev_put_assignments_instance_by_instanceid_by_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesLocal: body; nome na API: instanceTaskEnvelope
codeYesCódigo original / integração (apelido) do elemento pendente Local: path
instanceIdYesIdentificador instância Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the auth requirement, the raw endpoint and a KB link, but never states the operational consequence of finishing (whether the flow advances, whether the action is reversible, or that `result` must match an available action button).

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?

Purpose is front-loaded in the first clause, followed by the reference link, endpoint and category — all short and useful. Minor redundancy between the title and the opening sentence, but no filler.

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

Completeness3/5

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

This is a state-changing tool with a large nested body and no output schema, so the description must carry the remaining burden. It covers identity and auth but omits what a successful finish does to the instance and what errors look like when the code or result is invalid — meaningful gaps for a flow-advancing mutation.

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% and the nested body fields (result, formFields, messages, files) are each documented in the schema. The description only restates the meaning of `instanceId` and `code` that the schema already carries, adding no extra guidance on how `result` interacts with the task's action buttons. Baseline 3 applies.

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?

The description names a specific verb and resource: 'Finalizar tarefa atribuída a pessoa' (finish a task assigned to a person), keyed by instance code plus the original/integration code or alias. The keying scheme ('por código da instância e código original/integração ou apelido') implicitly separates it from the assignmentId-based sibling, though no sibling is named outright.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the operation and by the identifiers it requires, and '(Auth)' flags the authentication prerequisite. However, there is no explicit statement of when to choose this tool over zeev_put_assignments_by_assignmentid, nor any note on preconditions or failure cases.

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