Skip to main content
Glama

Contar as instâncias de solicitações que a pessoa relacionada ao token possui permissão de consultar

zeev_post_instances_report_count

Counts request instances the token owner can access, applying filters such as status, process, service, requester, form fields, and date ranges.

Instructions

Contar as instâncias de solicitações que a pessoa relacionada ao token possui permissão de consultar de acordo com filtros https://kb.stoque.com.br/zeev/apis/all/instances/count Endpoint: POST /api/2/instances/report/count 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": {
      "body": "<body>"
    },
    "name": "zeev_post_instances_report_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesDocumento com filtros e configurações solicitados para a consulta Local: body; nome na API: instancesFilter

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?

Annotations already declare openWorldHint=true, destructiveHint=false and idempotentHint=false, and the description adds a genuinely useful behavioral constraint: only instances the token owner is permitted to query are counted. It says nothing about the return value (a number), caching behavior despite the useCache parameter, or rate limits. Note a mild tension: a pure count reads as non-mutating, yet readOnlyHint=false; this does not rise to a direct contradiction since the description makes no claim about side effects.

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 purpose is front-loaded in the first sentence, followed by a documentation link, endpoint and category, all short. The "Categoria" line is low-value filler, but no sentence obscures the main intent.

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 tool with a single but deeply nested body parameter and no output schema, the description covers purpose and permission scoping but omits the return shape (a count) and any routing guidance versus the sibling report/list tools. It is adequate to call the endpoint correctly, but not sufficient to choose it confidently among the many report siblings.

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 every field of the nested body object documented (active, flowsId, formFieldsFilter operators, date intervals, useCache, etc.), so the baseline of 3 applies. The description adds only the generic phrase "de acordo com filtros" and no extra meaning about how filters combine or which ones are mandatory.

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 gives a specific verb ("Contar") and resource ("instâncias de solicitações"), plus the permission scope (only what the token's user may query) and the concrete endpoint POST /api/2/instances/report/count. It is clear what the tool does, but it never distinguishes itself from the closely named sibling zeev_post_instances_report, which an agent would have to infer from the names alone.

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 when-to-use guidance: nothing says to pick this over zeev_post_instances_report when only a total is needed, and no prerequisites or exclusions are stated. The only usage-adjacent content is the implicit scoping note that results are permission-limited by the token's user.

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