Skip to main content
Glama

Search workspace

search
Read-onlyIdempotent

Search words, meaning or identifiers. Hybrid ranking is the default with keyword fallback; mode=keyword uses words only. Default types: project, post, task, doc, canvas and discussion, plus media in hybrid mode. Each type needs its read scope; comments, annotations and files also need their source's read scope. Published posts only. authorId accepts a user ID or me and excludes records without an author. Each result has type, id, title, snippet, url and project. 20 per page.

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoHow to match. hybrid ranks by words and meaning and applies when omitted; keyword matches words only.
limitNoHow many results to return in one page. 20 when omitted.
queryYesWords, a question, or an identifier such as PRO-42. Leading and trailing spaces do not count toward its length.
typesNoWhich kinds of result to return. Leave it out for the default types named in the description.
cursorNonextCursor from the previous page, which is the offset of the next result. Leave it out for the first page.
authorIdNoOnly matches by this user: a user ID, or "me".
projectIdNoOnly results in this project: its ID or slug, from list_projects.

Output Schema

NameRequiredDescriptionDefault
hintNoA tip on reading cut text in full or on a faster way to do this. Sent only when one applies.
hasMoreYestrue when another page exists.
resultsYesMatches in rank order.
nextCursorNoPass as cursor for the next page. Null on the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive behavior on top: per-type read scope requirements, the extra source-scope requirement for comments, annotations and files, that only published posts are returned, and the authorless-record exclusion. That is exactly the kind of access and filtering behavior annotations cannot express.

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 the core capability, then defaults, then scoping rules and result shape; nearly every sentence carries new information. The style is telegraphic and list-like, which packs in density at some cost to readability, but there is no filler.

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

Completeness5/5

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

For a 7-parameter search tool with an output schema, everything an agent needs is present: matching modes, defaults, permission/scope implications, pagination via cursor, and the ranking behavior. Return fields are listed even though the output schema makes that optional, leaving no material 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 description coverage is 100%, so the schema already defines every parameter, including mode, limit, cursor and authorId. The description adds modest meaning beyond it — the concrete default type list that the types parameter defers to, the 'me' alias for authorId, and the 20-per-page default — but most of its parameter text restates 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?

Specific verb and resource with real scope: 'Search words, meaning or identifiers' plus an explicit enumeration of the default result types (project, post, task, doc, canvas, discussion, plus media). It implicitly separates itself from a chat-message search by not listing chat messages among its types, but it never names a sibling to route to, so it stops short of full differentiation.

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?

Gives concrete selection guidance: hybrid ranking is the default with keyword fallback, and mode=keyword restricts to words only, which tells an agent which mode to pick. It also states the default type set and that authorId excludes authorless records, but offers no explicit when-not-to-use-this-tool boundary against the sibling search tools.

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