Skip to main content
Glama

prazos_vencendo

Read-onlyIdempotent

Lists open legal deadlines due within a chosen day window, flags overdue items, sorts by urgency, and filters by responsible lawyer for workload planning.

Instructions

Lista os prazos abertos que vencem até hoje + dias, do mais urgente para o menos urgente.

Use para "o que vence esta semana?", pauta de reunião ou carga de um advogado. Cada item traz processo, cliente, responsável, vencimento, dias úteis restantes e situação (ATRASADO, VENCE HOJE, a vencer).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "prazos_vencendo"
  }
}

Input Schema

NameRequiredDescriptionDefault
diasNoJanela em dias corridos a partir de hoje. Ex.: 0 = só hoje, 7 = próxima semana.
advogadoNoFiltra pelo nome (ou parte do nome) do advogado responsável. Omita para o escritório todo.
incluir_atrasadosNoInclui prazos já vencidos e ainda não baixados (situação ATRASADO).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the agent knows this is a safe repeatable read. The description adds the urgency ordering and the situação taxonomy (ATRASADO, VENCE HOJE, a vencer), which is real behavioral context. It does not discuss volume limits, pagination, or how open/baixado status is determined, leaving that gap.

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?

Three short sentences, front-loaded with the scope and ordering before the use cases. The final sentence enumerating returned fields is partially redundant with the output schema, but it is compact and earns its place by clarifying the situação values.

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?

With an output schema present and full annotation coverage, the description only needed to establish scope, use cases, and ordering, all of which it does. Minor gaps remain around result volume and how the `dias` window interacts with already-overdue items, but nothing blocks a correct call.

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%, so all three parameters are already documented, including `dias` as a calendar-day window and the default for `incluir_atrasados`. The description only echoes the window concept ("até hoje + `dias`") and adds no extra nuance about the lawyer filter or overlap with the ATRASADO status.

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?

The description names a specific verb ("Lista") and a precisely scoped resource: open deadlines expiring up to today + `dias`, ordered from most to least urgent. That scope is concrete enough to distinguish this from buscar_processo or calcular_prazo without opening a schema, since those tools do not list upcoming deadlines.

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?

It gives concrete usage contexts — "o que vence esta semana?", meeting agendas, an individual lawyer's workload — which tell the agent when to reach for it. It stops short of naming an alternative tool or stating when not to use it, so a 4 rather than a 5.

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