Skip to main content
Glama

eokg_get_source

eokg_get_source
Read-onlyIdempotent

Retrieve a source's metadata and paginated smell references, including concepts, gestures, and excerpts. For images, also return detected objects with bounding boxes.

Instructions

Get a source text or image: its metadata and a page of the smells it contains. Smells are listed in no meaningful order (the graph keeps no position within the document), each with its vocabulary concepts, any gestures and a short excerpt. For an image source, also lists the objects the detector found, with bounding boxes; call eokg_inspect_image to see the picture.

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": {
      "id": "<id>"
    },
    "name": "eokg_get_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSource id: the http://data.odeuropa.eu/source/<uuid> URI or the bare uuid, as returned by eokg_get_smell (source.id).
limitNoSmells per page (1-100, default 20).
offsetNoSmells to skip, for paging. To continue, pass the previous page's next_offset: a page cut to fit the output budget holds fewer than limit smells.

Output Schema

NameRequiredDescriptionDefault
idYes
urlNo
dateNo
typeYes
yearNo
genreNo
limitYes
titleNo
artistNo
authorNo
offsetYes
smellsYes
licenseNo
has_moreYes
languageNo
warningsNo
image_urlNo
truncatedNo
next_offsetNo
smell_countYes
place_createdNo
detected_objectsNo
original_image_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: smells come back in 'no meaningful order (the graph keeps no position within the document)', which warns the agent not to rely on document ordering. That ordering caveat is the main value-add; nothing is said about output size, truncation, or error behavior on invalid ids.

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?

Two sentences, front-loaded with the purpose, then payload detail, then the sibling hand-off — no filler. Density is high but every clause carries information; the only cost is that the image-specific detail and general detail are interleaved rather than separated.

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 annotations covering safety and an output schema covering return shape, the definition supplies what an agent needs to call it correctly: what is returned, that ordering is arbitrary, and where to go for the image itself. The missing piece is explicit routing against eokg_get_smell for the reverse lookup.

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% and each parameter (id, limit, offset) is documented in-schema, including the next_offset paging caveat. The description adds only the loose notion of 'a page', which the schema already handles in detail, so 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?

States a specific verb and resource ('Get a source text or image') and then enumerates the payload: metadata plus a page of smells, with vocabulary concepts, gestures, excerpt, and — for images — detected objects with bounding boxes. An agent can distinguish this from eokg_get_smell or eokg_search_smells without opening a 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?

Gives an explicit conditional hand-off: for image sources, 'call eokg_inspect_image to see the picture', which tells the agent this tool is not for viewing the picture itself. However, it offers no guidance on when to prefer this over eokg_get_smell when an agent already has a smell and wants its source, leaving that routing to inference.

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