Skip to main content
Glama

get_artifact

Retrieve the full content of a saved analysis or report by providing its artifact ID, session ID, and agent ID. Access completed work from another agent for review.

Instructions

Get the full content of a specific artifact. Retrieve saved analysis or report.

AUTOMATIC TRIGGERS - Call this when:

  • You have an artifact_id from list_artifacts or a message reference

  • Need to review another agent's completed work

  • Reading detailed analysis that was saved as an artifact

WORKFLOW POSITION: Call after finding the artifact_id from list_artifacts or messages.

PARAMETERS:

  • session_id: Session containing the artifact

  • artifact_id: ID of the artifact (e.g., "art_abcdef12")

  • agent_id: Your agent ID (must belong to the session)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
session_idYes
artifact_idYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the retrieval (read) nature and the constraint that agent_id must belong to the session, which is useful. However, it does not mention error behavior, access requirements, or return shape—gaps that would help an agent anticipate edge cases.

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?

The description is organized into clear sections—purpose, triggers, workflow, and parameters—with a one-line summary up front. Every section contributes useful information, and there is no redundant fluff.

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?

For a simple read tool with three required string parameters and no output schema, the description is sufficiently complete: it states what the tool does, when to call it, and what each parameter means. It stops short of describing the response format or error conditions, but those are less critical for this straightforward retrieval operation.

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%, and the description compensates by explaining all three parameters: session_id as the containing session, artifact_id with a concrete example format, and agent_id with a membership constraint. This adds meaningful guidance beyond the bare parameter titles in the schema.

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 clear verb and resource: 'Get the full content of a specific artifact' and clarifies that artifacts are saved analyses or reports. It does not explicitly differentiate from siblings like get_finding, but the scope is specific enough that an agent can understand what the tool does.

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?

The 'AUTOMATIC TRIGGERS' section lists three concrete conditions for calling the tool, and the 'WORKFLOW POSITION' section provides ordering guidance relative to list_artifacts. It lacks explicit when-not-to-call or alternative tool routing, but the trigger list gives clear direction.

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/Vedant9500/OpenLMlib'

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