Skip to main content
Glama
Tetragon
by wckdboy

import_reference

Import local plan, image, regulation, or survey references into a project from an explicitly configured source, deduplicating by SHA-256 and avoiding uploads.

Instructions

Copy a local reference from an explicitly configured source root. SHA-256 deduplicated; no upload. PDFs/images are evidence, not automatically measured geometry.

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>",
      "path": "<path>",
      "kind": "<kind>",
      "expected_revision": "<expected_revision>"
    },
    "name": "import_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
noteNo
pathYes
project_idYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that the import copies from a configured root, avoids upload, uses SHA-256 deduplication, and treats PDFs/images as evidence only. However, it omits important behavior around expected_revision conflicts, write side effects, overwrite semantics, and failure modes.

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?

The description is three compact sentences with no wasted wording. The purpose and key constraints are front-loaded, followed by deduplication and scope limitations.

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

Completeness2/5

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

For a five-parameter import tool with no annotations, no output schema, and no schema descriptions, the definition is not complete enough to support fully confident invocation. It covers some behavior but leaves major parameter semantics and concurrency behavior unexplained.

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%, so the description must compensate for five undocumented parameters. It only partially clarifies that path is tied to a configured source root and hints at file kinds through PDFs/images, but it does not explain project_id, expected_revision, note, or the meaning of plan/image/regulation/survey in the kind enum.

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 states a specific action: copying a local reference from a configured source root. It also clarifies that no upload occurs and that PDFs/images are evidence rather than measured geometry, which helps distinguish this from calibration or measurement tools. It stops short of naming a specific sibling alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition implies usage for local reference imports but gives no explicit when-to-use guidance, prerequisites, or when-not-to-use conditions. It does not route the agent toward or away from siblings such as import_render_assets, import_skraafoto_preview, or calibrate_reference.

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