Skip to main content
Glama

get_artifact

Read-onlyIdempotent

Retrieve artifact metadata and base64 content by SHA-256 for a workspace the caller can access; returns NotFound if the access reference is missing. Requires workspace:read.

Instructions

Return artifact metadata and content_base64 bytes for a sha256 the caller workspace can access. A missing access ref is NotFound. Requires workspace:read.

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": {
      "sha256": "<sha256>"
    },
    "name": "get_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is lower; the description adds genuinely new behavior — that the response includes base64-encoded bytes (with payload-size implications), that inaccessible refs surface as NotFound, and that workspace:read is required. It omits any size caps or truncated-content caveats, which is the main remaining gap.

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 short sentences, front-loaded with the purpose, then error semantics, then the permission requirement. Every sentence contributes a distinct fact and there is no filler.

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 no output schema, the description steps in to say what is returned (metadata plus base64 content) and covers the auth requirement and the not-found case. It could be slightly more complete by clarifying whether content bytes are always present or bounded in size.

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?

With one parameter at 0% schema description coverage, the description only restates that the key is a sha256; the schema's 64-char length bounds are left to speak for themselves. It adds no format, casing, or hex-validation detail that would help the caller construct a valid value.

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 gives a specific verb+resource (return artifact) and distinguishes its payload from a metadata-only read by naming 'metadata and content_base64 bytes', which implicitly separates it from get_artifact_metadata. It stops short of naming the sibling explicitly, but an agent can still tell the two apart from the text.

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

Usage Guidelines3/5

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

It supplies the scoping condition ('a sha256 the caller workspace can access') and the required scope ('workspace:read'), which are real usage constraints. However, it never states when to prefer this over get_artifact_metadata, so the guidance is implied rather than explicit.

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

Deploy Server

Other Tools