Skip to main content
Glama
milaniseb12-png

inpi-marcas-mcp-server

Buscar próxima página de resultados

inpi_next_page
Read-onlyIdempotent

Advance to the next page of an ongoing Brazilian trademark search on INPI's pePI. Use after a search shows more results, ensuring correct pagination of the last session query.

Instructions

Avança para outra página de uma busca de marcas já realizada no pePI (INPI oficial). Use depois de qualquer uma das ferramentas de busca quando a resposta indicar que há mais páginas.

Não tem cache próprio: pagina a ÚLTIMA busca feita nesta sessão (o pePI guarda isso no servidor, não aqui). Se a busca anterior tiver vindo do cache local, esta ferramenta reenvia ela ao pePI ao vivo primeiro, automaticamente, pra não paginar a coisa errada.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paginaYesNúmero da página a buscar (2 = segunda página, etc)
salvar_htmlNotrue = também salva o resultado como um relatório HTML legível (tabela, sem depender de MCP) em disco e devolve o caminho do arquivo.
salvar_evidenciaNotrue = grava um PACOTE DE EVIDÊNCIA bruta em disco (HTML original do pePI, cópia offline com imagens/CSS baixados, manifest com sha256 de cada arquivo) — pra prova/auditoria, não só leitura. Diferente de salvar_html (que é só um relatório bonito). Sempre vai ao pePI ao vivo, ignorando o cache, porque a evidência precisa do HTML da requisição real.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • addedInput schema / properties / salvar_evidencia
      Added value: +{
      +  "default": false,
      +  "description": "true = grava um PACOTE DE EVIDÊNCIA bruta em disco (HTML original do pePI, cópia offline com imagens/CSS baixados, manifest com sha256 de cada arquivo) — pra prova/auditoria, não só leitura. Diferente de salvar_html (que é só um relatório bonito). Sempre vai ao pePI ao vivo, ignorando o cache, porque a evidência precisa do HTML da requisição real.",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The description discloses key behaviors: no own cache, pagination of the last session search, and automatic live re-send if the previous search was cached. It also details optional side effects for salvar_html and salvar_evidencia. However, the readOnlyHint annotation contradicts the file-writing side effects, and error/rate-limit behavior is not covered.

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?

The description is two tight paragraphs with no redundant text. It front-loads purpose and usage, then explains caching behavior concisely.

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?

The definition covers purpose, usage, caching, and optional evidence/report saving, giving enough context for an agent to call it correctly. It lacks return format details and error handling, but for a pagination tool with no output schema this is a minor gap.

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 coverage is 100%, and the schema itself provides clear descriptions for 'pagina', 'salvar_html', and 'salvar_evidencia'. The description does not add parameter-specific details beyond the schema, so baseline 3 is appropriate.

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 clearly identifies the verb 'Avança para outra página' and the resource 'busca de marcas já realizada no pePI', specifying it is for pagination of search results. It distinguishes itself from search tools by stating it should be used after a search when more pages are indicated.

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

Usage Guidelines5/5

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

It explicitly states when to use: 'Use depois de qualquer uma das ferramentas de busca quando a resposta indicar que há mais páginas.' It also explains the prerequisite of a prior search and cache behavior, including automatic re-send to live pePI if the previous search came from local cache.

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