Skip to main content
Glama
l0kifs
by l0kifs

create_artifact

Capture reusable guidance as artifacts: practices, rules, prompts, or results. Use when patterns, constraints, mistakes, or templates are discovered to improve future task execution.

Instructions

Create a new artifact to capture reusable guidance.

Create immediately when you discover a pattern, constraint, mistake, or useful template. If similar guidance might already exist, call search_artifacts() first; prefer update_artifact() over near-duplicates.

Constraints:

  • English only

  • summary <= 200 chars

  • content <= 4000 chars

  • No PII, no task-instance specifics; focus on WHAT/WHY

Types: practice (guidelines), rule (constraints), prompt (templates), result (generalizable learnings).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesFull content of the artifact - max 4000 chars, English only
summaryYesSummary of the artifact - max 200 chars, English only
artifact_typeYesType of artifact: 'practice', 'rule', 'prompt', 'result'
task_context_idYesID of the task context this artifact belongs to

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses constraints (English only, max lengths, no PII) and artifact types. Lacks mention of side effects or response behavior, but is generally transparent.

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?

Well-structured and front-loaded: purpose, usage guidelines, constraints, types. Every sentence is informative; no redundancy.

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 complexity and presence of output schema, description covers all essential aspects: when to use, constraints, types. No gaps.

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 100%, so baseline 3. Description adds value by organizing constraints and types, though most param info is already in schema. Extra context on artifact types and usage elevates to 4.

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?

Clearly states 'Create a new artifact to capture reusable guidance.' Differentiates from siblings like search_artifacts and update_artifact by emphasizing immediate creation and preferring updates over duplicates.

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?

Explicitly advises when to create instantly and when to search first: 'If similar guidance might already exist, call search_artifacts() first; prefer update_artifact() over near-duplicates.' This is exemplary.

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/l0kifs/task-context-mcp'

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