Skip to main content
Glama

Diagnóstico do MCP

diagnostico
Read-only

Checks Google login, NotebookLM and Flow screens, menus and balance to report exactly what works or is broken, without using credits or generation limits. Run it when errors appear or the UI seems changed.

Instructions

Confere login, NotebookLM e Flow (telas, menus e saldo) e diz exatamente o que está funcionando ou quebrado. Não gasta créditos nem o limite de uso. Use quando algo der erro ou parecer que o Google mudou a tela. completo=true é o auto-diagnóstico das telas (~30 s): confere CADA botão, menu, diálogo e leitura interna que o MCP usa (NotebookLM, Flow e Google Drive) e, se algo mudou, diz qual item e onde ele fica em src/seletores.ts. Só abre e fecha menus; nada é gerado nem alterado. Se o tempo da chamada não der para tudo, a resposta diz qual parte faltou: chame de novo com parte (notebooklm, flow ou drive).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parteNoCom completo=true: qual parte conferir.tudo
completoNotrue = auto-diagnóstico de todas as telas (~30 s).
notebookNoCom completo=true: notebook usado no teste (padrão: o primeiro seu com fontes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description adds what they cannot: it consumes no credits nor usage limit, the full run costs ~30 s, it only opens and closes menus, nothing is generated or altered, and a truncated run reports which part was skipped. It even names where failures surface (src/seletores.ts).

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?

The core purpose, cost-free guarantee and trigger condition are front-loaded, and the dense detail that follows is mostly load-bearing. There is mild repetition between 'Não gasta créditos nem o limite de uso' and 'nada é gerado nem alterado', and the completo=true explanation is spread across two long sentences.

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?

There is no output schema, so the description must describe the return, and it does: it names which item changed, where that item lives in src/seletores.ts, and which part was missing on truncation. For a read-only diagnostic with a 3-param, fully documented schema, nothing an agent needs is absent.

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 tying completo=true to the ~30 s full-screen sweep and by restating the parte values (notebooklm, flow, drive) in the timeout fallback. It omits the enum's fourth value 'tudo' and says nothing about how the 'notebook' parameter is chosen beyond what the schema already states.

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?

States a specific verb and full scope: it checks login, NotebookLM and Flow (screens, menus, balance) and reports what is working or broken. That clearly separates it from the many action siblings (flow_gerar_video, notebook_criar, etc.) and from narrow status tools, since this is the aggregate health check.

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 an explicit trigger: 'Use quando algo der erro ou parecer que o Google mudou a tela', and a recovery path when the call times out (re-call with parte). It never names which cheaper sibling to use for a narrow check (login_status, flow_status, flow_creditos), so the alternative selection is left implicit.

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