Skip to main content
Glama

ほかのデータとのリンクを調べる

find_links
Read-only

URIを1つ指定すると、そこからほかのデータへのリンク(同じものを表すURIや、文字列で入っている国立国会図書館典拠IDなど)と、ほかのデータからそのURIを参照しているものを、すべてのデータで調べて名前付きで返す。複数のデータをまたいで調べるときに実行する。返ってきたURIは、そのデータのget_resourceやsparqlにの形で渡せる。

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": {
      "dataset": "<dataset>",
      "uri": "<uri>"
    },
    "name": "find_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriYesURI。接頭辞つきか<URI>かそのままのURL
datasetYesそのURIが属するデータのid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, open-world safety profile, and the description adds substantive behavior: it queries all datasets, not only the one named, and it returns links in both directions. What is still missing is a note on how expensive such a scan is or on result limits.

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?

The content is front-loaded: the input condition comes first, followed by what is returned and then the follow-up step. The wording is dense and slightly repetitive in its emphasis on "all datasets", but every sentence contributes.

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?

There is no output schema, and the description explains the return shape well: named results in both link directions. For a two-parameter lookup, that is nearly complete; only details about result size or pagination are absent.

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%, and the description adds little beyond the schema: it says that the URI can be given with a prefix, as <URI>, or as a plain URL, which matches what the schema already documents. It does not clarify how the required dataset id relates to the URI beyond what the schema 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 description says specifically that it takes one URI and returns both outbound links (same-thing URIs, embedded NDL authority IDs) and inbound references across every dataset, with names. This is far more than a restatement of the name, and it separates the tool from get_resource and sparql by naming them as downstream consumers of the returned URI.

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 explicitly states the trigger: "run this when investigating across multiple datasets". It also tells the agent what to do next with a returned URI (pass it to that dataset's get_resource or sparql as <URI>). It does not state a when-not condition, but the cross-dataset trigger is clear enough to guide selection.

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.