Skip to main content
Glama

aguardar_tarefa

Read-only

Waits for a background task such as login or data collection to progress or finish, returning its current stage so you can show progress and decide when to call again.

Instructions

Acompanha uma tarefa em segundo plano (login, coleta). Volta em até segundos (padrão 10, máx. 25) ou antes, quando muda de etapa. Mostre a linha progresso ao docente a cada chamada e chame de novo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segundosNo
tarefa_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description usefully adds the timing contract (default 10, max 25 seconds, may return earlier on stage change) and the required UI behavior of surfacing `progresso` each call. This is meaningful behavioral context beyond the annotations.

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?

Two dense sentences that front-load the action (monitor) followed by the timing and UI instructions; there is little waste. Slightly terse given the tool's polling nature, but well-structured.

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?

For a read-only polling tool with annotations covering the safety profile and no output schema, the description supplies the key missing pieces: timing bounds, early-return behavior, and the directive to display `progresso` and re-call. Adequate to invoke correctly.

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 0%, so the description must compensate. It does explain `segundos` semantics (default 10, max 25) beyond the schema's bare default, but says nothing about `tarefa_id` (the required param), leaving half the parameters undocumented in both places.

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?

Names a specific verb and resource ('Acompanha uma tarefa em segundo plano') and gives concrete examples (login, coleta), so an agent can tell it is a background-task poller. It does not explicitly contrast itself with siblings, but the purpose is unambiguous.

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

Usage Guidelines4/5

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

Provides clear operational context: it returns within `segundos` or earlier on stage change, and instructs the agent to show the `progresso` line and 'chame de novo' (call again), defining the polling loop. No explicit when-not or named alternative, but the usage pattern is spelled out.

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