Skip to main content
Glama

Aplicar/remover etiqueta

astrea_set_tag

Adds or removes a tag on Astrea legal-practice items—tasks, cases, deadlines, hearings, appointments, publications, or histories—to organize records.

Instructions

Aplica (add=true) ou remove (add=false) uma etiqueta de uma tarefa, processo/caso, prazo, audiência, compromisso, publicação ou andamento.

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": {
      "target": "<target>"
    },
    "name": "astrea_set_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID do item
addNo
tagIdNo
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the write-not-destroy profile is largely covered. The description adds that removal detaches a tag rather than deleting the tag entity, but says nothing about idempotency (what happens if the tag is already/not present), permission requirements, or the response, which matters for a set-style mutation.

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?

A single front-loaded sentence that packs both modes and the full target list with no filler. The long entity enumeration is justified by the enum, though it makes the sentence dense.

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

Completeness4/5

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

Given a 4-parameter tool with no output schema and annotations that already cover the safety profile, the description covers the operation, both modes, and all target types. Missing pieces are the meaning/source of tagId, duplicate-tag behavior, and whether tagId is effectively mandatory despite not being listed as required.

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 coverage is only 25% (only `id` carries a description), so the description has to compensate and it does partially: it defines the add semantics and maps the target enum values to human entity names. tagId is never explained (which tag, where it comes from) and it is conspicuously absent from the required list without comment, so a real gap remains.

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 pair (apply/remove) and resource (tag), and enumerates the entity types the tag can be attached to, which maps directly onto the TASK/CASE/DEADLINE/... enum. It is clearly distinct in meaning from create_tag/delete_tag, though it never names those siblings to make the distinction explicit.

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

Usage Guidelines3/5

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

It explains the two operating modes through the add flag (add=true applies, add=false removes), which implies when each branch is used. It offers no exclusions, prerequisites, or pointer to astrea_create_tag / astrea_delete_tag for managing the tag entity itself, leaving that choice to inference.

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