Skip to main content
Glama

URIの内容を取得する

get_resource
Read-only

URIを1つ指定すると、そのプロパティと値、そのURIを参照しているものを返す。値がURIのものには、分かれば名前を付ける。searchで見つけたURIの内容を確認するときに実行する。

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

Input Schema

NameRequiredDescriptionDefault
uriYesURI。接頭辞つき(例ndlna:00054222)か<URI>かそのままのURL
datasetYesデータのid。list_datasetsで一覧を取得できる

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds meaningful return-behavior context that annotations cannot convey: outputs include both property/value pairs and inbound backlinks, with human-readable labels attached to URI values when resolvable. It does not describe what happens when the URI is absent from the dataset or whether results are truncated, which keeps it out of the top band.

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?

Three compact sentences: return contents first, then the label caveat, then the usage cue. Nothing is redundant and the most important information (what comes back) leads.

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?

With only two fully documented params, no output schema and safety fully covered by annotations, the description supplies the missing piece: what the response actually contains. Edge cases such as an unknown URI or cross-dataset behavior remain unaddressed, so it is strong but not exhaustive.

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 description coverage is 100%, with both params documented, including accepted URI formats and the dataset enum with a pointer to list_datasets. The description adds only the framing that exactly one URI is supplied and never discusses the dataset selector, so the schema does the heavy lifting and baseline 3 applies.

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 names a specific verb and resource: given one URI, it returns that URI's properties and values plus the resources that reference it, and labels URI-valued entries with names when known. That return shape distinguishes it clearly from siblings like search or find_links, so an agent can pick it without opening the schema.

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 states the triggering context explicitly: run this when you want to inspect the contents of a URI you found via search, which implicitly positions search as the discovery step and this tool as the follow-up. It does not state when NOT to use it or contrast it with find_links/sparql, so it falls short of full routing guidance.

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.