Skip to main content
Glama

Create Knowledge Artifact

artifact-create_knowledge

Create a NEW knowledge artifact from Anima's knowledge-base template. Returns a ready artifact; never edits an existing one.

Call with no arguments, or with an optional name (defaults to "Untitled project") and workspaceId. No files, ZIP upload, framework, or artifact type are accepted. The template supplies the initial files and determines the framework.

Returns the sessionId, initial revision, artifactUrl, name, framework, fileCount, skippedFiles, and applicable preview URLs and Git access. Share artifactUrl with the human. Use artifact-explore and artifact-edit to inspect and change its contents. Only use artifact-publish when the user explicitly asks for a public deployment.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "artifact-create_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional display name; defaults to "Untitled project".
workspaceIdNoWhere to create it — an id from workspace-list_workspaces. Omit it to create in General, or in the only workspace you can create in; name one only when the user asked for a specific workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Where to create it — an id from workspace-list_workspaces. Optional when you can create in only one workspace; otherwise required, since there is no default workspace."New value: +"Where to create it — an id from workspace-list_workspaces. Omit it to create in General, or in the only workspace you can create in; name one only when the user asked for a specific workspace."
  2. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Where to create it — an id from workspace-list_workspaces. Optional when you can create in only one workspace; otherwise required, since there is no default workspace.",
      +  "type": "string"
      +}
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true) the description discloses the creation semantics ('never edits an existing one'), the full return payload (sessionId, initial revision, artifactUrl, name, framework, fileCount, skippedFiles, preview URLs, Git access), and an explicit instruction to share artifactUrl with the human. It also clarifies which inputs are rejected, which the annotations cannot express.

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?

Front-loaded with the create-vs-edit distinction, then inputs, then returns, then sibling routing — a logical order with no filler sentences. Minor redundancy between 'Returns a ready artifact' and the later enumerated return fields, and the workspace default is repeated from the schema.

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?

There is no output schema, so the description carries the return-value burden itself and does so by listing the key fields and the shareable artifactUrl. Combined with the mutation semantics and sibling routing, an agent has everything needed to call this correctly on the first try.

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 the baseline is 3, but the description adds meaning the schema does not: it states the tool can be called with zero arguments, that name defaults to 'Untitled project', and that no file/ZIP/framework/type parameters exist at all, heading off an agent trying to pass them. It stops short of adding syntax or validation detail beyond the schema's maxLength=120.

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?

States a specific verb and resource ('Create a NEW knowledge artifact from Anima's knowledge-base template') and immediately bounds it with 'never edits an existing one'. It also rules out sibling territory by declaring that no files, ZIP upload, framework, or artifact type are accepted, so an agent can distinguish this from artifact-create_from_template without opening either schema.

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?

Gives explicit invocation guidance ('Call with no arguments, or with an optional name and workspaceId') plus explicit when-not guidance for the two nearest alternatives: artifact-explore/artifact-edit for inspecting and changing contents, and artifact-publish only when the user explicitly asks for a public deployment. The condition selecting each alternative is stated rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.