Skip to main content
Glama

register_artifact

Register existing file metadata as a task-bound artifact reference, linking screenshots, logs, or reports to the verified workflow execution without reading, copying, or validating content.

Instructions

Register an existing regular-file metadata reference for the verified calling task.

No owner parameter is accepted. Relative paths use the recorded repository; only repository, allocated own scratch (including a granted shared chain or group folder), and revalidated saved grants are accepted. A standalone task, or a running workflow node, orchestrator turn or native-subagent controller, may register; its reference is bound to that workflow execution. Builders and inherited descendants are refused. A native subagent has no channel of its own: what it registers lands on its controller. Notes are preserved verbatim. Kinds: screenshot, log, report, other. Paths and notes are at most 4096 UTF-8 bytes; at most 100 references per task and a 1 MiB manifest. A reference establishes no content validity, task success, access, copy, or publication authority. No content is read, copied, hashed, previewed, or published. Caller indexing is bounded; retry a catalog-preparation error to advance cold history.

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": {
      "path": "<path>",
      "kind": "<kind>"
    },
    "name": "register_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
noteNo
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses that nothing is read, copied, hashed, previewed, or published, that registration confers no authority, and states concrete limits (4096 bytes, 100 refs, 1 MiB manifest). The retry sentence ('Catalog-preparation error ... cold history') is jargon-heavy and underspecified, costing a point.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and few sentences are truly wasted, but the prose is dense, line-broken awkwardly mid-sentence, and full of internal jargon ('granted shared chain', 'cold history', 'catalog-preparation'). Readability suffers even though length is defensible for the complexity.

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?

An output schema exists, so return values need no explanation, and the description covers eligibility, path scope, size/count limits, and side-effect guarantees. It leaves open edge cases such as duplicate registration or whether the file must already exist, so it is not fully complete for a mutation tool with zero annotations.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does: path resolution (relative paths use the recorded repository, allowed roots listed), note behavior ('preserved verbatim'), and kind values (screenshot, log, report, other) are all covered. It never maps these facts explicitly to the parameter names, which is a minor gap.

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: 'Register an existing regular-file metadata reference for the verified calling task.' It is clearly a write-recording tool distinct from read siblings like get_task_artifacts/get_workflow_artifacts. Slightly abstract wording ('metadata reference') keeps it from a 5.

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?

Explicitly enumerates eligible callers (standalone task, running workflow node, orchestrator turn, native-subagent controller) and refusals (builders and inherited descendants), plus which paths are accepted. It gives no named alternative tool or condition for choosing between registration paths, so it stops short of full when/when-not routing.

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