Skip to main content
Glama

search

Read-onlyIdempotent

Find stored todos, decisions, changes, learnings, problems and solutions. query: ranked matches. query + answer=true: a short quoted answer with record ids, or says FlowState has nothing. query="D12": decision 12 in full. No query: the newest records. Read-only. Overview: start_here. Returns {results, count} or {answer, sources}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoauto, keyword or meaning.auto
limitNoDefault 10, max 50.
queryNoWords, or a question when answer=true. Omit to list newest.
answerNotrue = answer the query, quoting records.
projectNoOmit to search every project.
since_hoursNoNo query only: from the last N hours.
content_typesNoOnly these record types. Omit for all.
include_set_asideNotrue = also records set aside (manage_memory set_aside).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed world, so the safety profile is covered. Beyond that, the description discloses the two distinct response shapes ({results, count} vs {answer, sources}) and the important edge behavior that answer mode explicitly reports when FlowState has nothing rather than returning empty silently.

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?

The description is extremely tightly packed, with the core purpose first and the return shapes last, and no filler sentences. The telegraphic fragment style ("query + answer=true:", "No query: the newest records") is efficient but occasionally reads more like notes than prose.

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?

For an eight-parameter tool with no output schema, the description covers the critical decision branches and even sketches the return payloads, with annotations handling the safety profile. Remaining gaps are minor, such as the meaning of mode=auto and the default/max limit behavior, both of which are adequately handled by the schema itself.

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 all eight parameters are already documented in the schema, which sets the baseline at 3. The description does add real meaning beyond the schema, notably the shorthand record-id query syntax ("D12") and the interaction between query, answer and no-query states, but it leaves mode, project and since_hours semantics entirely to the schema.

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

Purpose5/5

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

The description opens with a specific verb ("Find") and enumerates the resource types it covers (todos, decisions, changes, learnings, problems, solutions), which maps directly onto the content_types enum. It also distinguishes itself from the manage_* mutation siblings by stating "Read-only" and routes overview intent to start_here.

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?

It gives explicit mode selection rules: bare query means ranked matches, query with answer=true means a quoted answer, an id-like query returns one record in full, and omitting query lists the newest. It names start_here as the alternative for overview, but says nothing about when to prefer the manage_* siblings for listing or mutating records.

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