Skip to main content
Glama

Conector Juspronto

Carteira do escritório

carteira
Read-onlyIdempotent

Mostra indicadores da carteira compartilhada, agrupados por situação da pasta, advogado ou tribunal, prazos abertos da semana civil de segunda a domingo em Brasília e processos sem movimento há mais de 30 dias. diasSemMovimento muda o indicador e filtra a lista; sem movimento registrado, conta desde a criação da pasta. Pasta arquivada não conta como parada: arquivadasForaDasParadas diz quantas ficaram de fora. Inclui a contagem e os nomes dos advogados com OAB fora da varredura. A lista tem 25 itens por página; use proximoCursor com os mesmos filtros para continuar. truncado e aviso indicam corte por tamanho. Para localizar um caso, prefira buscar_processos.

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": "carteira"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoproximoCursor da página anterior, com os mesmos filtros
agruparPorNoAgrupamento dos indicadores, padrão situacao
diasSemMovimentoNoFiltra a lista por mais de N dias sem movimento; o indicador usa 30 dias quando omitido

Output Schema

NameRequiredDescriptionDefault
avisoNo
itensNo
totalNo
truncadoNo
indicadoresNo
oabNaoConstaNo
avisoConteudoNo
proximoCursorNo
oabsForaDaVarreduraNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / oabNaoConsta
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {},
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "aviso": {
      +      "type": "string"
      +    },
      +    "avisoConteudo": {
      +      "type": "string"
      +    },
      +    "indicadores": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "itens": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "cnjFormatado": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "pasta": {
      +            "anyOf": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "processoId": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "oabsForaDaVarredura": {
      +      "additionalProperties": {},
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "proximoCursor": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "total": {
      +      "type": "number"
      +    },
      +    "truncado": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial behavior beyond them: archived folders are excluded from stalled counts, archivedForaDasParadas reports the excluded number, the 30-day default is stated, the civil week runs Monday–Sunday in Brasília, and truncation is signalled by truncado/aviso. These are non-obvious counting rules an agent could not derive from the schema.

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?

Purpose and grouping scope are front-loaded, then edge rules (archived folders, OAB outside scan, pagination, truncation) follow in a logical order with no filler. It is dense but every clause carries information; the closing redirect to buscar_processos is well placed rather than buried.

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?

An output schema exists, so return values need not be enumerated, yet the description still covers the non-obvious ones (truncado/aviso, archivedForaDasParadas) plus page size and continuation protocol. For a read-only dashboard with three optional parameters, nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description goes further by explaining that diasSemMovimento both changes the indicator and filters the list, and that with no recorded movement the count starts from folder creation. It also clarifies that the cursor parameter is fed by proximoCursor and must reuse identical filters, disambiguating the naming mismatch with the 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?

Opens with a specific verb+resource ('Mostra indicadores da carteira compartilhada') and immediately scopes it by grouping dimension (situação, advogado, tribunal), open deadlines and stalled cases. It also distinguishes itself from the sibling buscar_processos for case lookup, so an agent can pick it without opening the schema.

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?

Gives clear when-to-use context (dashboard indicators over the shared caseload) and names an explicit alternative for a different intent: 'Para localizar um caso, prefira buscar_processos.' It also tells how to continue a listing via proximoCursor with the same filters. It stops short of stating when NOT to use it for adjacent intents (financeiro, prazos individuais), which keeps it at 4.

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.

Resources