Skip to main content
Glama

search_gallery_templates

Read-onlyIdempotent

公開テンプレートギャラリーから、まだワークスペースに取り込んでいないテンプレートをキーワードで探します(認証不要)。検索語は空白で区切った語ごとに、タイトル・説明・タグ・カテゴリの部分一致で照合し(大文字小文字は区別しない)、すべての語に一致した候補を items に返します(pdf・template など、どのテンプレートにも出てくる汎用的な語は一致しなくてもかまいません)。quotation・resume など一部の英語の語は、同じ種類の日本語・別表記のテンプレート(見積・職務経歴書など)にも一致します。すべての語に一致する候補が無いときは、一部の語だけに一致した候補を「部分一致」として partialMatches に別枠で返します(items と matchedCount には含めません)。各候補は slug・title・description・category・tags・thumbnailUrl・duplicateCount を持ちます。ワークスペース内の既存テンプレートを探す場合はこのツールではなく list_templates / search を使ってください。重要: このツールが返す slug では PDF を出力できません。先に copy_gallery_template で自分のワークスペースへ複製し、返された designId を get_design_parameters / generate_pdf_sync に渡してください。

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_gallery_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返す最大件数(既定 20、上限 50。超過分は残り件数として通知)
queryYes検索キーワード(1文字以上)。空白で区切った語ごとにタイトル・説明・タグ・カテゴリの部分一致で照合し、すべての語に一致したものを items、一部の語だけに一致したものを partialMatches(部分一致)として返す。
categoryNoカテゴリ code で絞り込み(任意。例: "invoice", "other")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"検索キーワード(タイトル・説明・タグ・カテゴリの部分一致。1文字以上)"New value: +"検索キーワード(1文字以上)。空白で区切った語ごとにタイトル・説明・タグ・カテゴリの部分一致で照合し、すべての語に一致したものを items、一部の語だけに一致したものを partialMatches(部分一致)として返す。"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The description goes well beyond the annotations: no authentication required, case-insensitive partial matching per term, the partialMatches fallback bucket separate from items/matchedCount, and the critical constraint that returned slugs cannot be used for PDF output. That workflow hazard is exactly the kind of context annotations cannot convey. Minor gap: it does not state rate limits or pagination behavior for limit overflow, so it is not perfect.

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?

Dense and front-loaded: purpose, matching semantics, fallback behavior, return fields, alternatives, and the PDF warning appear in that order. The search-term semantics partly repeat the query field description, so a small amount of redundancy keeps it just under top marks.

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 read-only, three-parameter search tool with no output schema, the description covers everything an agent needs: what is searched, how matching works, what the returned fields are, how partialMatches differs, which sibling to use instead, and the mandatory next step before PDF generation.

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, and the description adds genuine meaning: cross-language matching where English words like quotation or resume also hit Japanese equivalents (見積, 職務経歴書), plus the rule that generic words need not match. It does not, however, elaborate on limit or category beyond what the schema already says.

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 first sentence states a specific verb and resource (search public gallery templates), plus a scope qualifier (not yet imported into the workspace) and an auth note. It explicitly separates itself from workspace search (list_templates / search) and the description implies a different role than the sibling get_gallery_template.

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

Usage Guidelines5/5

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

Explicit when-to-use (keyword search of the public gallery) and when-not (use list_templates / search for existing workspace templates). It also gives the required follow-up path: copy_gallery_template first, then pass the returned designId to get_design_parameters / generate_pdf_sync.

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.