Skip to main content
Glama

キーワードで検索する

search
Read-only

名前・タイトル・本文にキーワードを含むものを検索し、URIと名前とクラスを返す。人名・作品名・単元名・件名などからURIを調べるときに実行する。datasetを省略するとすべてのデータを検索する。

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

Input Schema

NameRequiredDescriptionDefault
textYes検索キーワード(日本語のまま)
typeNoクラスで絞り込むとき。接頭辞つきか<URI>
limitNo件数(省略すると15、すべてのデータを検索するときはデータごとに5)
datasetNoデータのid。list_datasetsで一覧を取得できる

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description goes beyond them by disclosing the return shape (URI, name, class) and the scope-expanding default that omitting dataset searches all datasets. It says nothing about result ordering, pagination, or cost of the broad default search, which keeps it from a 5.

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?

Three short sentences, front-loaded with what is searched and what is returned, followed by the usage trigger and the dataset default. No filler, though the dataset-default point is repeated in both the description and the limit parameter's schema text.

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?

With no output schema, the description's job is to say what comes back and it does (URI, name, class), while annotations cover the read-only/open-world profile and the schema fully documents all four parameters. An agent has everything needed to select and invoke this tool correctly.

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

Parameters3/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 text, type, limit, and dataset, including defaults and the 1–50 bound. The description only reinforces the dataset default ('omit it and all data is searched') and adds nothing about the type prefix syntax or limit interaction, so the baseline 3 applies.

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 concrete verb+resource+scope: it searches for items containing a keyword in name, title, or body, and explicitly names the return fields (URI, name, class). That is specific enough to distinguish it from get_resource or describe_class, though it never explicitly contrasts itself with sparql, which is the most plausible competing route to the same URIs.

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?

It gives a clear triggering condition — run this when looking up a URI from a person name, work title, unit name, or subject heading — plus a statement about the dataset-omission default. It provides no exclusions or pointers to alternatives (e.g. use sparql for multi-condition queries), so it falls short of a full when/when-not treatment.

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.