Skip to main content
Glama

Reverter cancelamento de uma instância de solicitação por código da solicitação

zeev_patch_instances_by_instanceid_cancel_undo
Destructive

Reverts the cancellation of a Zeev request instance using its instance ID, restoring a request when a cancellation was applied by mistake.

Instructions

Reverter cancelamento de uma instância de solicitação por código da solicitação https://kb.stoque.com.br/zeev/apis/all/instances/cancel Endpoint: PATCH /api/2/instances/{instanceid}/cancel/undo Categoria: Instances / Instâncias de solicitações

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>"
    },
    "name": "zeev_patch_instances_by_instanceid_cancel_undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceIdYesCódigo da solicitação Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the risk profile is covered structurally. The description adds the raw endpoint (PATCH /api/2/instances/{instanceid}/cancel/undo) and a KB documentation link, but does not say what state is restored, what happens if the instance was never cancelled, or whether side effects (notifications, form values) occur.

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?

The definition is short and front-loaded: the action statement comes first, followed by the reference link and endpoint. The "Categoria" line and markdown link add limited value but no sentence is padded or verbose.

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?

For a single-parameter destructive mutation with no output schema, an agent knows the endpoint, the key, and the risk hints. What is missing is outcome information: what the revert restores, whether prerequisites must hold, and what the response confirms — gaps that matter for a destructive operation.

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 single instanceId parameter is documented as "Código da solicitação Local: path". The description's phrase "por código da solicitação" merely reaffirms this without adding format, range, or sourcing guidance, which is the expected baseline when the schema does the work.

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 ("Reverter cancelamento") and resource ("instância de solicitação") plus the lookup key ("por código da solicitação"), so an agent can distinguish it from the sibling zeev_patch_instances_by_instanceid_cancel that performs the cancellation. It is essentially a restatement of the title, but adds the concrete endpoint and category, so the action is unambiguous.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no statement of preconditions (e.g., the instance must currently be cancelled), and no named alternative such as re-creating the instance. The only usage signal is implicit in the verb "Reverter", which the agent must infer.

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