Skip to main content
Glama

Contar as atividades atribuidas a uma pessoa por username (Auth)

zeev_get_assignments_user_by_username_count
Read-onlyIdempotent

Counts activities assigned to a person by username, with optional filters for process flow, app code, service ID, and mobile-enabled tasks.

Instructions

Contar as atividades atribuidas a uma pessoa por username (Auth) https://kb.stoque.com.br/zeev/apis/all/assignments/users-count Endpoint: GET /api/2/assignments/user/{username}/count 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": {
      "username": "<username>"
    },
    "name": "zeev_get_assignments_user_by_username_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdNoCódigo identificador do processo a ser filtrado Local: query
appCodeNoCódigo identificador do aplicativo de processos a ser filtrado Local: query
usernameYesIndicação do username da pessoa cujas atribuições serão listadas Local: path
serviceIdNoCódigo identificador dao serviço a ser filtrado Local: query
mobileEnabledOnlyNoIndicativo se devem ser listadas somente as atividades que podem ser concluidas via mobile Local: query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered by structured data. Beyond that, the description adds only the '(Auth)' tag hinting at authentication and a knowledge-base link; it says nothing about scope of the count (all assignments? filtered by the query params?), permission requirements, or rate behavior. The added behavioral value over the annotations is minimal.

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 statement is front-loaded in the first line, followed by a documentation link, endpoint, and category — all short and scannable. The title duplication and the raw URL are slightly redundant but still functional as a reference. No filler prose.

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 five-parameter count endpoint with no output schema, the description covers identity and location but not the return value shape (presumably an integer count) or whether the count is total across all filters. Annotations handle the safety profile and the schema handles parameters, so the remaining gap is modest but real.

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 of the five parameters (flowId, appCode, username, serviceId, mobileEnabledOnly) documented in the schema including whether it is path or query. The description adds no meaning beyond that — it does not explain how filters combine or what happens when multiple filters are supplied. Baseline 3 applies when the schema carries the semantics.

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 ('Contar as atividades atribuidas a uma pessoa por username'), which distinguishes it from the listing sibling zeev_get_assignments_user_by_username by making clear this returns a count rather than the assignments themselves. It also gives the exact endpoint GET /api/2/assignments/user/{username}/count, which confirms the resource identity. However, it never names a sibling as the alternative, leaving that differentiation implicit.

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 count endpoint versus the listing sibling or the other *_count tools. The only orientation is the 'Assignments / Atribuições' category label and the endpoint path, which imply context but do not instruct. An agent must infer selection criteria entirely from the tool name.

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