Skip to main content
Glama

get_artifact

Read-only

Retrieve artifact metadata including filename, content type, size, content hash, session/agent IDs, custom metadata, expiry, and creation timestamp for a given artifact ID.

Instructions

Fetch metadata for a single artifact by ID: filename, content type, size, content hash, session/agent IDs, custom metadata, expiry, creation timestamp. Does NOT return the file bytes — call get_artifact_download_url for that. Returns artifact_not_found for unknown IDs, artifact_already_deleted (HTTP 410) for soft-deleted ones, artifact_expired (410) for those past their TTL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artifact_idYes
Behavior5/5

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

Annotations provide readOnlyHint=true, which matches the description. The description adds behavioral details beyond annotations, such as returning specific error codes for unknown IDs, soft-deleted artifacts, and expired artifacts (HTTP 410).

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?

Two sentences, front-loaded with purpose, no wasted words. Every sentence adds value.

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

Completeness5/5

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

Given the tool's simplicity (one param, read-only, no output schema needed), the description fully covers the behavior, return fields, and error cases.

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?

The schema has one parameter artifact_id with a regex pattern, which is self-explanatory. The description does not add additional meaning beyond what the parameter name and schema imply, but it's sufficient for the simple parameter. With 0% schema description coverage, the description could elaborate, but the param is well-defined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it fetches metadata for a single artifact by ID, listing specific metadata fields (filename, content type, size, etc.). It distinguishes itself from the sibling tool get_artifact_download_url which returns file bytes.

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

Usage Guidelines5/5

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

The description explicitly explains what the tool does and what it does NOT do (return file bytes), directing users to call get_artifact_download_url for that. It also lists specific error conditions (artifact_not_found, artifact_already_deleted, artifact_expired), providing clear guidance on expected behavior.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SagaPeak/artifacta-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server