Skip to main content
Glama

Apaga o histórico do preenchimento dos campos do formulário em todas as tarefas concluídas, se o cam

zeev_patch_formvalues_by_instanceid_history_clear
Destructive

Clears historical form-field values for a completed request instance by instance ID, including all table rows, with options to delete current data or ignore signatures.

Instructions

Apaga o histórico do preenchimento dos campos do formulário em todas as tarefas concluídas, se o campo estiver em tabela todas as linhas serão apagadas (Auth) https://kb.stoque.com.br/zeev/apis/all/instances/form-fields Endpoint: PATCH /api/2/formvalues/{instanceid}/history/clear Categoria: FormValues / Valores de campos do formulário

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

Input Schema

NameRequiredDescriptionDefault
bodyYesNomes dos campos do formulário Local: body; nome na API: formFieldsEnvelope
instanceIdYesCódigo identificador da instância da solicitação Local: path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is conveyed structurally. The description adds real value by disclosing scope: only completed tasks, and if the field lives in a table, all rows are erased. However, it says nothing about irreversibility, required permissions beyond a cryptic '(Auth)', or the effect on instances without completed tasks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, which is good, but the KB link, endpoint string, and 'Categoria' line partly duplicate information already available from the tool name and endpoint, and the title appears truncated mid-sentence. It is not bloated, but not every line earns its place.

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 destructive, nested-body PATCH with no output schema, the description covers scope and the table-wide side effect but omits what the response returns, whether the erase is reversible, and any rate or permission details. It is adequate to avoid misuse but leaves meaningful gaps for a high-risk 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%, with each nested body field (fieldList, deleteFormValueData, deleteEvenIfThereIsASignature) and instanceId already documented in the schema. The description adds no format, naming, or constraint detail beyond that, so the baseline of 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 in Portuguese ('Apaga o histórico do preenchimento dos campos do formulário') and scopes it to completed tasks, which is far more specific than the tool name alone. It does not explicitly contrast with sibling tools such as zeev_patch_formvalues_by_instanceid, but the 'history/clear' action is distinct enough to be actionable.

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 statement of when to use this tool versus the sibling form-values update tool, nor any preconditions, exclusions, or confirmation guidance. The only conditional text ('se o campo estiver em tabela todas as linhas serão apagadas') describes a side effect, not when the tool should be selected.

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