Skip to main content
Glama

Search

search
Read-onlyIdempotent

Find projects, Actions (every status, open and in-progress first; each result states its status) and prompts by text when you do not know where a record is. Returns matching records with ids; pass one to fetch for the full record.

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
limitNoHow many matches to return.
queryYesWords to look for, such as a prompt or brand.
project_idNoSearch one project only; omit to search every project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many matches to return."
    • addedInput schema / properties / project_id / description
      Added value: +"Search one project only; omit to search every project."
    • addedInput schema / properties / query / description
      Added value: +"Words to look for, such as a prompt or brand."
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and a closed-world scope, so the safety profile is covered. The description adds real value beyond that by disclosing result ordering (open and in-progress Actions first) and that each result carries its status, but it says nothing about pagination beyond limit or result count behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the verb and the resource list, then the return shape and follow-up action. Every clause carries information; nothing is repeated from the schema or annotations.

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 a three-parameter read tool with full schema coverage, complete annotations and no output schema, the definition covers what is searched, ordering, and the shape of results (records with ids). Minor gaps remain around empty-result behavior and whether limit is the only pagination mechanism.

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 schema already documents query, project_id and limit, making the baseline 3. The description adds scope semantics the schema does not state outright: by default the search spans projects, Actions and prompts across records, and each hit returns an id usable with fetch.

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?

States a specific verb ("Find") and enumerates the resource types searched (projects, Actions, prompts) plus the search key (text). It also distinguishes itself from the sibling fetch tool by explaining that a returned id can be passed to fetch for the full record.

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 an explicit usage condition, "when you do not know where a record is," which implies use it as a discovery step before fetch. The handoff to fetch is named with its condition, but there is no guidance on when a narrower lookup would be preferable or on what to do when search returns nothing.

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