Skip to main content
Glama
l0kifs
by l0kifs

update_artifact

Update an artifact to correct or refine stored guidance, ensuring reusable task contexts remain accurate and useful for future executions.

Instructions

Update an artifact when existing guidance is incomplete, wrong, or needs refinement.

Use immediately when you learn something better or user feedback indicates a correction. Prefer updating over creating duplicates.

Constraints:

  • English only

  • summary <= 200 chars

  • content <= 4000 chars

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

Provide summary and/or content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNoNew content for the artifact - max 4000 chars, English only
summaryNoNew summary for the artifact - max 200 chars, English only
artifact_idYesID of the artifact to update

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. It discloses constraints (English only, char limits, no PII), and that only summary/content can be updated. While it does not detail success response or idempotency, the output schema likely covers return values, making this adequate.

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?

The description is concise (~80 words), front-loaded with purpose, and each sentence is necessary. It uses clear structure: purpose/usage, then constraints. No redundant information.

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?

Given the low complexity (3 params, two optional) and presence of an output schema, the description covers purpose, usage, constraints, and parameter behavior. It lacks mention of error conditions or success confirmation, but the output schema likely fills that gap.

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%, baseline is 3. The description adds value by restating constraints and clarifying that at least one of summary or content should be provided ('Provide summary and/or content'), which is not evident from the schema alone.

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 tool updates an artifact when guidance is incomplete, wrong, or needs refinement. It uses a specific verb (update) and resource (artifact), and distinguishes from siblings like create_artifact by emphasizing preference for updating over creating 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?

Provides explicit guidance: use immediately upon learning better information or user correction, and prefer updating over creating duplicates. Includes constraints and the context to focus on what/why, making it easy for the agent to decide when to invoke this tool.

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