Skip to main content
Glama

Item Search

item_search

Search stored project knowledge by text and get ranked summaries of decisions, procedures, and gotchas. Scope results by project or workspace to avoid cross-project leakage.

Instructions

Busca por texto. Devolve resumos, nunca o conteúdo completo.

Use quando: Procurar algo que pode já estar guardado (decisão, gotcha, procedimento). Retorna: [{id, key, type, memory_class, domain, title, summary, score, uses}]. Exemplo: item_search(query="migração flyway", limit=5) Notas: Sem project/workspace, busca no projeto da pasta atual (se ligado) — não vaza para outros projetos; everywhere=True busca em todos. Relevância primeiro; acentos e plurais não atrapalham. include_inactive traz substituídos, obsoletos e ephemeral vencidos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
typesNo
domainNo
projectNo
workspaceNo
everywhereNo
connection_idNo
memory_classesNo
include_inactiveNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose real behavior: returns summaries not full content, default project/workspace scoping with no cross-project leakage, everywhere=True for global search, relevance-first ranking, accent/plural tolerance, and include_inactive surfacing superseded/obsolete/expired ephemeral items. It stops short of stating read-only guarantees or pagination/rate behavior, but the behavioral disclosure is rich.

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?

Front-loaded with purpose, then bolded Use/Returns/Example/Notes sections that scan quickly. Slightly dense in the Notes paragraph but no redundant filler.

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

Completeness3/5

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

For a 10-parameter tool with zero schema coverage and no annotations, several filters (types, domain, memory_classes, connection_id) remain undocumented. The return-field list is redundant given an output schema exists, while the genuinely useful undocumented parameters are not covered, leaving the definition only partially complete.

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 description coverage is 0% across 10 parameters, yet the description explains the semantics of key ones: project/workspace defaulting, everywhere, include_inactive, and query/limit (with a limit=5 example). It leaves types, domain, memory_classes, and connection_id completely unexplained, so it only partly compensates for the coverage gap.

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 clear verb+resource (text search over stored items) and immediately draws a boundary relative to the sibling item_get by saying it "devolve resumos, nunca o conteúdo completo." An agent can tell it is a search/retrieval tool and not a fetch-full-content tool, though item_get is never named explicitly.

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 "Use quando" block gives a concrete trigger (looking for something that may already be stored: decision, gotcha, procedure). It does not name alternatives or explicit exclusions, but the summary-only constraint implicitly routes full-content needs elsewhere.

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