Skip to main content
Glama

Buscar produtos por nome

buscar_produtos
Read-only

Busca produtos no catálogo SI5 Global por texto livre (nome, marca, tipo de produto), tolerando erro de digitação. Devolve até 10 produtos com código de barras, marca, NCM e link. (EN: search products by free text, typo tolerant; returns up to 10 with barcode, brand, NCM and link.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "texto": "<texto>"
    },
    "name": "buscar_produtos"
  }
}

Input Schema

NameRequiredDescriptionDefault
textoYesO que procurar (ex.: "arroz tipo 1 5kg", "coca cola 2l")
limiteNoQuantos produtos (padrão 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint=false, so the safety profile is covered. The description adds real behavior beyond that: fuzzy/typo-tolerant matching and the exact set of returned fields (barcode, brand, NCM, link), which tells the agent what it can chain into without a second call.

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?

A single front-loaded sentence carrying the search scope, the behavioral trait, and the return payload, followed by a compact English mirror. No filler, no repetition of schema content.

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?

With only two parameters, no output schema, and full schema coverage, the description does enough: it says what is searched, how matching behaves, and what comes back. A note on result ranking or what happens on zero matches would close the remaining 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%, so both parameters are already documented and the baseline is 3. The description adds modest meaning by clarifying that the free text can span name, brand and product type, but adds nothing about the 'limite' parameter beyond what the schema's max-10/min-1 constraints already convey.

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?

States a specific verb and resource: free-text search over the SI5 Global catalog, with the searched fields (nome, marca, tipo de produto) and the typo-tolerance trait. It is clearly distinguishable from consultar_codigo_barras and consultar_ncm by being free-text rather than an exact-key lookup, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

The description establishes context (free-text search in the catalog) which implicitly signals when to reach for it instead of a barcode/NCM lookup, but it never states when to use it, when not to, or names the alternatives. Guidance is implied rather than explicit.

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