Skip to main content
Glama
bbpropulse

MCP PJe Pernambuco

by bbpropulse

ler_chat_cap1g

Read-onlyIdempotent

Retrieve the current state and messages of an ongoing chat by its reference, without sending or waiting. Useful for monitoring CAP1G chat progress in Pernambuco's court system.

Instructions

Lê estado e mensagens do chat em andamento sem esperar nem enviar nada.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
desde_idNo
referencia_chatYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
avisoYes
fonteNoChat Mibew da CAP1G/TJPE
estadoYes
operadorNo
encerradoYes
mensagensYes
ultimo_idYes
iniciado_emYes
pode_enviarYes
transcricaoNo
atualizado_emNo
aviso_do_chatNo
nome_visitanteYes
novas_mensagensYes
referencia_chatYes
total_mensagensYes
operador_digitandoNo
processos_restantesYes
processos_solicitadosNo
limite_processos_por_atendimentoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.2

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, and destructiveHint=false. The description adds context that the operation is non-blocking and scoped to an ongoing chat, but it does not cover edge cases like missing/invalid chat references or the effect of the 'desde_id' parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence with no filler, front-loaded with the core behavior and immediately followed by the key exclusion ('sem esperar nem enviar nada'). Every part earns its place.

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 simple read tool with rich annotations and an output schema, the description covers the key decision factors: read-only, non-blocking, scoped to ongoing chat. The main gap is the absence of any input-parameter guidance, but this is a minor omission given the low complexity.

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

Parameters2/5

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

Schema description coverage is 0% and the description provides no parameter details. The parameter names 'referencia_chat' and 'desde_id' are somewhat self-explanatory, but the agent receives no guidance on their format, origin, or incremental-reading semantics.

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 gives a specific verb and resource: 'Lê estado e mensagens do chat em andamento' (reads state and messages of the ongoing chat). It also explicitly contrasts with waiting or sending, which clearly distinguishes it from sibling chat tools.

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?

The phrase 'sem esperar nem enviar nada' communicates clearly when to use this tool: for non-blocking inspection only. It implicitly rules out uses handled by waiting/sending siblings, though it does not name them explicitly.

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