Skip to main content
Glama

context_search

Read-onlyIdempotent

Search a context repository by keyword to locate relevant records for Quartet-QE test generation and replay. Use it when you need to find stored context before approving or rerunning tests.

Instructions

Search the context repo by keyword.

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": {
      "query": "<query>"
    },
    "name": "context_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that—no match semantics (substring vs. token), no ranking/ordering, no behavior on zero results, and no indication of what a search result contains.

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 short sentence with the action front-loaded and no filler. It is efficiently stated, though the sparseness reflects under-specification rather than economy of detail.

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 two-parameter, non-destructive search tool with no output schema, the core intent is conveyed but key operational details are missing: result format, ordering, default limit, and zero-result behavior. An agent could call it, but could not predict or interpret the response reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so both parameters must be explained by the description—and they are not. "By keyword" gives only a weak hint about the query parameter's expected form, and the optional limit parameter (presumably max results) is entirely undocumented in either place.

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

Purpose3/5

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

"Search the context repo by keyword" gives a concrete verb (search) and resource (context repo) and hints at keyword-based retrieval, which separates it in spirit from context_list and context_read. However, it never names those alternatives or states how keyword search differs from listing or reading a known item, so the differentiation is left to inference.

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 contains no when-to-use guidance: no conditions under which keyword search beats context_list or context_read, no note about what happens when the keyword is ambiguous or unmatched, and no prerequisites. The agent must guess from the sibling names alone.

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