Skip to main content
Glama

global_search

Searches products, spaces, resources, demands, and scenarios in one query, returning per-entity totals to support result assessment and pagination.

Instructions

全局搜索(产品/空间/资源/需求/场景混合),并返回各类实体总数。

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

Input Schema

NameRequiredDescriptionDefault
pageNo
keywordNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; it does add real value by stating that results are mixed across five entity types and that per-type totals are returned. It says nothing about ordering, pagination behavior, permission requirements, or whether result items accompany the counts, which is a notable gap for a search tool with page/page_size parameters.

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?

A single, front-loaded sentence with zero filler: the operation and its scope come first, then the return-value note. It is perhaps too terse for the amount of undocumented surface, but nothing is wasted.

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

Completeness2/5

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

There is no output schema and no annotation coverage, so the description should clarify return shape and pagination semantics; it only mentions aggregate counts per entity type, leaving unclear whether actual result items are included. Combined with 0% parameter coverage on a three-parameter tool, the definition is under-specified.

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 all three parameters (page, keyword, page_size) are undocumented in structured form and the description does not compensate. Only 'keyword' is loosely implied by the word 'search'; page and page_size, including their defaults, are never explained.

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 names a specific verb (global search) and enumerates exactly which entity types are covered (products, spaces, resources, demands, scenes), which lets an agent distinguish it from single-domain siblings like search_products or list_demands. It stops short of explicitly naming which sibling to use instead, but the scope statement is concrete.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no named alternative. The agent must infer that this is the broad cross-entity search versus the per-domain list_* and search_products tools, which is reasonable but entirely unstated.

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