Skip to main content
Glama

artifact.stat

Read-only

Retrieves size, MIME type, checksum, and origin for a single artifact by its artifact_id, letting agents verify downloads and confirm what a captured file is.

Instructions

Size, mime, checksum and origin of one artifact.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "artifact.stat"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifact_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is mostly covered. The description adds the useful detail that four specific metadata fields are returned, but says nothing about missing/unresolvable artifact IDs or what 'origin' resolution entails for external artifacts.

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?

A single compact clause with no filler, front-loaded with the returned fields. It is efficient but telegraphic, reading as a label rather than a sentence an agent can fully act on.

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?

With no output schema, the description does the minimum by listing return fields, but for a single-parameter lookup with a completely undocumented identifier it leaves out error behavior and identifier format. Given the complexity is low, this is thin but not dangerous.

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?

Only one parameter (artifact_id) with 0% schema description coverage, and the description never mentions it. It does not clarify whether the identifier is an internal ID, path, or URI, so it fails to compensate for the coverage 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?

The description names a specific resource (one artifact) and enumerates the exact metadata returned: size, mime, checksum, origin. 'stat' in the tool name plus this field list makes it distinguishable from artifact.read (content) and artifact.list (enumeration), though the distinction is implied rather than stated.

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?

There is no when-to-use guidance and no mention of alternatives such as artifact.read or artifact.list. An agent must infer from the field list that this is a metadata-only lookup on a known artifact identifier.

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