Skip to main content
Glama

olist_pedidos_pesquisa

Search Olist orders using filters like client, CPF/CNPJ, dates, status, and seller. Retrieve paginated order data from the Olist/Tiny ERP API.

Instructions

Pesquisar Pedidos API 2.0. Endpoint API V2: pedidos.pesquisa. Documentação: https://tiny.com.br/api-docs/api2-pedidos-pesquisar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoOrdenação dos pedidos (ASC ou DESC)
numeroNoNúmero do pedido (na Olist)
paginaNoNúmero da página
clienteNoNome ou código (ou parte) do cliente
cpf_cnpjNoCPF ou CNPJ do cliente
marcadorNoDescrição do marcador na Olist
situacaoNoSituação do pedido conforme tabela de Situações dos Pedidos
dataFinalNoData de cadastramento final dos pedidos que deseja consultar no formato dd/mm/yyyy
idVendedorNoNúmero de identificação do vendedor na Olist
dataInicialNoData de cadastramento inicial dos pedidos que deseja consultar no formato dd/mm/yyyy
nomeVendedorNoNome do vendedor na Olist
dataAtualizacaoNoData da última atualização feita nos pedidos que deseja consultar no formato dd/mm/yyyy hh:mm:ss
numeroEcommerceNoNúmero do pedido no ecommerce (ou no seu sistema)
situacaoOcorrenciaNoSituação da ocorrência conforme tabela de Situações dos Pedidos
dataFinalOcorrenciaNoData de ocorrência final dos pedidos que deseja consultar no formato dd/mm/yyyy
dataInicialOcorrenciaNoData de ocorrência inicial dos pedidos que deseja consultar no formato dd/mm/yyyy
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it only states 'Pesquisar Pedidos' and gives an endpoint. It does not mention that this is a read/search operation, any required authentication, pagination behavior, or what the response contains. This is a severe gap.

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

Conciseness3/5

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

The description is very short and mostly to the point, but there is redundancy ('API 2.0' vs 'API V2') and it lacks structural elements like sections or usage context. It is not verbose, but it under-specifies, so a middle score is fair.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a search tool with 16 optional parameters, no annotations, and no output schema. The description does not explain the return format, how filters interact, pagination, or any example use cases. This is completely inadequate for the tool's complexity, leaving the agent with only the schema to infer behavior.

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?

The input schema has 100% coverage with descriptions for all 16 parameters. The tool description adds no parameter information beyond the schema, so the baseline of 3 is appropriate. The schema already explains each field, so no additional value is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as 'Pesquisar Pedidos' (Search Orders), which is a specific verb and resource. It also provides the exact endpoint (pedidos.pesquisa), which helps distinguish it from other order-related operations like olist_pedido_obter, though it does not explicitly mention alternatives.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives such as olist_pedido_obter or other search tools. It only gives a documentation link, which is not embedded guidance, and no exclusions or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mauriciogior/olist-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server