Skip to main content
Glama
l0kifs
by l0kifs

create_artifact

Create reusable guidance artifacts to capture patterns, constraints, templates, and learnings for task execution improvement.

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
task_context_idYesID of the task context this artifact belongs to
artifact_typeYesType of artifact: 'practice', 'rule', 'prompt', 'result'
summaryYesSummary of the artifact - max 200 chars, English only
contentYesFull content of the artifact - max 4000 chars, English only

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by specifying constraints (English only, character limits, no PII, focus on WHAT/WHY) and artifact types. It doesn't mention authentication needs, rate limits, or error conditions, but provides substantial behavioral context for a creation tool.

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 with purpose statement, usage guidelines, constraints, and types - all in 7 concise sentences. Every sentence adds value: the first states purpose, second gives usage timing, third addresses alternatives, fourth lists constraints, and fifth explains types. No wasted words.

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 has an output schema (so return values are documented elsewhere), 100% schema coverage, and no annotations, the description provides excellent context: clear purpose, detailed usage guidelines, behavioral constraints, and parameter context. It's complete enough for an agent to understand when and how to use this tool effectively.

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?

Schema description coverage is 100%, so the schema already documents all 4 parameters thoroughly. The description adds some context about parameter constraints (English only, character limits) and explains artifact_type values, but doesn't provide significant additional semantic meaning beyond what's in the schema. Baseline 3 is appropriate.

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 the verb 'create' and resource 'artifact' with specific purpose 'to capture reusable guidance.' It distinguishes from siblings by explicitly mentioning when to use search_artifacts() first and prefer update_artifact() over near-duplicates, showing clear differentiation.

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?

Provides explicit when-to-use guidance: 'Create immediately when you discover a pattern, constraint, mistake, or useful template.' Also gives when-not-to-use alternatives: 'If similar guidance might already exist, call search_artifacts() first; prefer update_artifact() over near-duplicates.' This directly addresses sibling tool relationships.

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