Skip to main content
Glama
ContextMap
by Leoomk

mc_buscar_contexto

Searches a project for terms, functions, tables, or business rules to provide relevant context without reading files blindly.

Instructions

Pesquisa instantânea de termos, funções, tabelas ou regras de negócio no projeto sem precisar ler arquivos no escuro.

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": {
      "termo": "<termo>"
    },
    "name": "mc_buscar_contexto"
  }
}

Input Schema

NameRequiredDescriptionDefault
termoYesSearch term (e.g. 'payment', 'users', 'auth', 'deleteOrder')
caminho_projetoNoCaminho do projeto caso ainda não esteja carregado

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does convey that the search is 'instantânea' and avoids reading raw files, implicitly indicating a read-only, indexed lookup, but it says nothing about result format, result limits, or whether the search spans code, docs, or metadata.

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?

A single front-loaded sentence with no filler; the purpose and its benefit are stated immediately. Slightly more structure on the search scope would raise it further.

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 simple two-parameter read tool with no output schema and no annotations, the description covers the essentials but leaves return values, scope of search, and result size undefined. Adequate but with clear gaps.

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 100%, so both parameters are already documented, and this establishes a baseline of 3. The description's mention of 'termos' loosely reinforces the 'termo' parameter but adds no syntax or formatting guidance beyond the schema.

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 ('Pesquisa') and concrete search targets (termos, funções, tabelas, regras de negócio) within the project, making the operation clear. It does not explicitly differentiate itself from siblings such as mc_obter_esqueleto or mc_obter_resumo, but the search framing is distinctive enough to infer the difference.

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 phrase 'sem precisar ler arquivos no escuro' implies the tool exists to avoid blind file reading, which suggests a usage context. However, there is no explicit when-to-use, when-not-to-use, or named alternative among the sibling tools.

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