Skip to main content
Glama

search

Read-only

Search across screens, agents, models, tools, knowledge bases, skills, channels, tests, team, conversations, and docs. Use prefixes '>' for actions, '@' for people, and '?' for docs to find ranked results.

Instructions

Global search: screens and tabs, agents, models, tools, toolsets, knowledge bases, skills, channels, tests, team, conversations and the people in them (masked), Help/docs sections. Prefix > actions, @ people, ? docs. Returns {results: [{group, type, label, context, sublabel, href, ...}]} ranked, max limit (<= 30). Same rows as /admin/search.json.

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": {
      "q": "<q>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text.
envNoConfig branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves.staging
limitNoMax results (1-30, default 30).

Output 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?

Annotations only declare readOnlyHint=true; the description adds real behavioral context beyond that — results are ranked, capped at `limit` (<= 30), people entries are masked, and the payload mirrors /admin/search.json. The masking disclosure in particular is a privacy-relevant trait an agent would not otherwise know. It doesn't discuss empty-result behavior or cross-workspace scope.

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 syntax, then return shape — a sensible order with no filler sentences. The entity enumeration is long and reads as a list, but each item earns its place by defining search scope.

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?

With an output schema present, the return-shape sentence is technically redundant but harmless, and the annotation already covers safety. The definition gives an agent enough to call the tool correctly; only edge cases (no results, result grouping semantics) are left unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema by documenting the query prefix operators (`>` for actions, `@` for people, `?` for docs) and restating the hard cap on `limit`. Those operators materially change how `q` should be constructed.

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?

The description opens with a specific verb+resource ("Global search") and enumerates the searchable entity types (screens/tabs, agents, models, tools, toolsets, KBs, skills, channels, tests, team, conversations, docs), which clearly separates it from the single-resource siblings like channels, models, or skills. It stops short of explicitly naming a sibling it supersedes, so it lands at 4 rather than 5.

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?

Usage is implied by "Global search" plus the entity list: reach for it when you don't know which resource holds something. However, there is no explicit when-to-use vs. when-to-use-a-sibling statement and no exclusions, so the agent must infer that the single-resource listing tools are the narrower alternative.

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