Skip to main content
Glama
Tetragon
by wckdboy

import_skraafoto_preview

Imports a selected item from a verified Skråfoto catalogue as a hashed JPEG preview with provenance for visual selection, not full-resolution measurement.

Instructions

Import a selected item from a verified, retained Skråfoto catalogue as a hashed JPEG preview plus provenance. Uses configured Dataforsyningen credentials with a fixed endpoint and allowlisted CDN. Preview is for visual selection, not full-resolution metrology. Read the licence in original metadata; no arbitrary URL input.

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": {
      "project_id": "<project_id>",
      "expected_revision": "<expected_revision>",
      "catalogue_reference_id": "<catalogue_reference_id>",
      "item_id": "<item_id>"
    },
    "name": "import_skraafoto_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYes
project_idYes
expected_revisionYes
catalogue_reference_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the auth model (configured Dataforsyningen credentials), the network policy (fixed endpoint, allowlisted CDN), the output shape (hashed JPEG + provenance), and a licence obligation to read original metadata. It omits side-effect and idempotency details — e.g. what happens on a repeat import of the same item, or how stale-revision conflicts surface.

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?

Four short sentences, each adding a distinct fact: what it imports, how it authenticates, what the preview is for, and the licence/no-URL constraints. Front-loaded with the action and output, with zero filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation-style import with no annotations and no output schema, the description covers security, provenance and scope well, but leaves the four required parameters undefined and says nothing about failure modes, overwrite behaviour, or the revision check. Adequate, but an agent would still be guessing on key inputs.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for all four required parameters, so the description must compensate, and it largely does not. Only catalogue_reference_id/item_id are indirectly gestured at ('selected item from a verified, retained Skråfoto catalogue'), while project_id and especially expected_revision — an optimistic-concurrency control whose failure behaviour matters — receive no explanation at all.

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?

States a specific verb and resource: importing a selected item from a verified, retained Skråfoto catalogue, with the output named as a hashed JPEG preview plus provenance. It implicitly separates itself from search/view siblings by emphasising 'selected item' and 'preview for visual selection', but never names an alternative tool outright.

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 a clear when-not ('not full-resolution metrology') and a hard constraint ('no arbitrary URL input'), which tells the agent items must come from the catalogue rather than from caller-supplied URLs. It stops short of explicitly naming which sibling to use to obtain the catalogue item or what to do instead when full-resolution data is required.

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