Skip to main content
Glama

search_workspace

Read-only

Case- and accent-insensitive search over titles and bodies of pages, databases and rows, best matches first. Use it to locate an item by text when the workspace map does not already give you its id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesMatching items

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / limit / description
      Removed value: -"Maximum results (default 10)"
    • removedInput schema / properties / query / description
      Removed value: -"Text to match against item titles and content (case-insensitive substring)"
  2. Changed8 schema fields changed
    • changedOutput schema / properties / results / items / properties / breadcrumb / description
      Previous value: -"Location path from the workspace root to the item (for a database_row, ends with its parent database name)"New value: +"Path from workspace root"
    • changedOutput schema / properties / results / items / properties / databaseId / description
      Previous value: -"Parent database ID, present for database_row results (pass to query_database)"New value: +"Present for database_row results"
    • changedOutput schema / properties / results / items / properties / id / description
      Previous value: -"Item ID (pass to get_page)"New value: +"Pass to get_page"
    • changedOutput schema / properties / results / items / properties / matchedOn / description
      Previous value: -"Where the query matched: title | content"New value: +"title | content"
    • removedOutput schema / properties / results / items / properties / parentId / description
      Removed value: -"Parent item ID for nested sidebar items"
    • removedOutput schema / properties / results / items / properties / snippet / description
      Removed value: -"Matching content snippet (empty when the match was on the title)"
    • removedOutput schema / properties / results / items / properties / title / description
      Removed value: -"Item title"
    • changedOutput schema / properties / results / items / properties / type / description
      Previous value: -"Item type: page | database | database_row"New value: +"page | database | database_row"
  3. Changed9 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Search query"New value: +"Text to match against item titles and content (case-insensitive substring)"
    • addedOutput schema / properties / results / items / properties / breadcrumb
      Added value: +{
      +  "description": "Location path from the workspace root to the item (for a database_row, ends with its parent database name)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / results / items / properties / databaseId
      Added value: +{
      +  "description": "Parent database ID, present for database_row results (pass to query_database)",
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / id / description
      Previous value: -"Item ID"New value: +"Item ID (pass to get_page)"
    • addedOutput schema / properties / results / items / properties / matchedOn
      Added value: +{
      +  "description": "Where the query matched: title | content",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / parentId
      Added value: +{
      +  "description": "Parent item ID for nested sidebar items",
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / snippet / description
      Previous value: -"Matching content snippet (pages only)"New value: +"Matching content snippet (empty when the match was on the title)"
    • changedOutput schema / properties / results / items / properties / type / description
      Previous value: -"Item type (page | database)"New value: +"Item type: page | database | database_row"
    • changedOutput schema / properties / results / items / required
      Previous value: -[
      -  "id",
      -  "type",
      -  "title",
      -  "snippet"
      -]New value: +[
      +  "id",
      +  "type",
      +  "title",
      +  "breadcrumb",
      +  "matchedOn",
      +  "snippet"
      +]
  4. 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=true, so the description doesn't need to state read-only nature. It adds valuable behavioral details: case- and accent-insensitivity and ordering by best matches. These go beyond the schema and annotations, though it does not mention pagination or output structure (covered by output schema).

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 main purpose and usage condition, no fluff or redundancy. Every word contributes to understanding the tool.

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?

The tool is simple with only 2 parameters and an output schema, so the description covers the core purpose and usage well. However, the missing explanation of 'limit' is a notable gap, though minor given the schema provides a default and the output schema handles return details.

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 the description must compensate. It implicitly covers 'query' by describing text search, but the 'limit' parameter is entirely absent. The description does not explain what limit controls or its default behavior, leaving the agent to infer from the schema alone, which is inadequate.

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 clearly states the tool's function: case- and accent-insensitive search over titles and bodies of pages, databases, and rows, with best matches first. It names specific resources and a specific verb, distinguishing it from siblings like get_page or list_workspace by its search semantics.

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?

The description gives a clear usage condition: 'Use it to locate an item by text when the workspace map does not already give you its id.' This implies when not to use it (when you have the id) and provides context for when search is appropriate, though it does not explicitly name an alternative tool.

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.