Skip to main content
Glama

astrea_tarefa_etiquetar_remover

Aplica ou remove etiquetas (tags) em TAREFAS do Astrea — uma ou várias tarefas numa só chamada. Use para classificar/priorizar tarefas (ex.: marcar "URGÊNCIA" nas atrasadas) ou restaurar etiquetas. Para etiquetar PROCESSOS use astrea_etiquetar.

  • action "aplicar" adiciona as etiquetas às tarefas; "remover" tira (sem apagar a etiqueta em si). As etiquetas já presentes são mantidas.

  • task_ids: ids das tarefas (ver astrea_agenda_global, astrea_agenda ou astrea_tarefa_criar); NÃO precisa de case_id.

  • tag_ids: ids das etiquetas (ver astrea_etiquetas; a etiqueta precisa permitir TASKS em restrictions). Roda tarefa por tarefa; num lote grande pode voltar "truncado" com a lista "pendentes" — chame de novo só com elas. Falha numa tarefa não impede as outras (veja "tarefas[].ok").

[Flattened action: remover]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tag_idsYes
task_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: states that removing does not delete the tag itself, that existing tags are preserved, that it runs task-by-task, that large batches may return truncated with a 'pendentes' list, and that one failure does not block others. These are exactly the operational details annotations cannot convey.

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?

Front-loaded with purpose, then bulleted parameter and behavior notes — dense but well organized. Slightly heavy for a two-parameter tool, though every point adds value.

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

Completeness5/5

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

Complete for this complexity: prerequisites (tag restrictions), parameter sourcing, batch/partial-failure behavior, and the return shape (tarefas[].ok, 'pendentes') are all covered despite no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description carries the full load: task_ids are task ids (with pointers to discovery tools) and no case_id is needed; tag_ids are tag ids (see astrea_etiquetas) and the tag must permit TASKS in restrictions. This compensates fully for the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (apply/remove tags on TASKS), including batch scope, and explicitly names the sibling to use for PROCESSOS (astrea_etiquetar). An agent can distinguish it from astrea_tarefa_etiquetar_aplicar/remover without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete use cases (classificar/priorizar, ex.: marcar URGÊNCIA nas atrasadas) plus an explicit alternative for a different resource type. The action semantics (aplicar adds, remover takes away) are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.