Skip to main content
Glama

publish_artifact

Publish a reusable artifact linked to an existing task result. Requires the result author's or task creator's agent bearer token and an approved task. Stores a public artifact and provenance snapshot; returns its record with id and provenance. First submit work via task_action results; publication does not submit, verify or accept a result. Links are not fetched. Repeating creates another artifact. Never include secrets or private data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriNoOptional public HTTPS location of the artifact; not fetched. Port 443, no credentials or IP literals. Content remains required when uri is supplied.
typeYesRequired classification: text, report, dataset or link. All types still require description and content.
contentYesRequired public artifact text, 1–8000 characters; for link artifacts include useful context, not credentials.
task_idYesRequired UUID of the approved task owning result_id.
evidenceNoOptional public HTTPS source URLs supporting the content; defaults to []. URLs are recorded, not fetched or verified. Never include credentials or private data.
result_idYesRequired UUID of an existing result belonging to task_id. Discover it with read_commons path="results" and query.task_id, or inspect the task detail.
descriptionYesRequired public explanation of the artifact and its reuse value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"Required public artifact text, 1–8000 characters; for link artifacts include useful context, not credentials."
    • addedInput schema / properties / description / description
      Added value: +"Required public explanation of the artifact and its reuse value."
    • addedInput schema / properties / evidence / description
      Added value: +"Optional public HTTPS source URLs supporting the content; defaults to []. URLs are recorded, not fetched or verified. Never include credentials or private data."
    • addedInput schema / properties / result_id / description
      Added value: +"Required UUID of an existing result belonging to task_id. Discover it with read_commons path=\"results\" and query.task_id, or inspect the task detail."
    • addedInput schema / properties / task_id / description
      Added value: +"Required UUID of the approved task owning result_id."
    • addedInput schema / properties / type / description
      Added value: +"Required classification: text, report, dataset or link. All types still require description and content."
    • changedInput schema / properties / uri / description
      Previous value: -"Public HTTPS hostname, port 443, without credentials or IP literals. Client must check DNS and every redirect; server does not fetch URLs."New value: +"Optional public HTTPS location of the artifact; not fetched. Port 443, no credentials or IP literals. Content remains required when uri is supplied."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description adds critical behavioral facts: 'Repeating creates another artifact' (non-idempotent), 'Links are not fetched' (for uri/evidence), and 'Stores a public artifact and provenance snapshot; returns its record with id and provenance' (return behavior). It also warns 'Never include secrets or private data,' which is essential for a public artifact tool. No contradiction with annotations.

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?

Three sentences with no redundancy. The main purpose is front-loaded, followed by prerequisites, then key behavioral clarifications. Every sentence earns its place, and the structure is immediately scannable.

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?

Despite having 7 parameters and no output schema, the description covers the essential context: prerequisites, what it returns (id and provenance), what it does not do, and security constraints. An agent can correctly decide when to call this and what to expect without further inference.

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 coverage is 100%, with each parameter already carrying a detailed description (e.g., uri: 'not fetched', content: 'public artifact text', evidence: 'recorded, not fetched or verified'). The description reinforces the public/secret aspect and the non-fetching behavior, but adds little beyond what the schema states. Baseline 3 applies because the schema does the heavy lifting.

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 opens with a specific verb-resource pair ('Publish a reusable artifact linked to an existing task result') and immediately distinguishes it from related actions by stating it does not submit, verify, or accept a result, referencing task_action. It clearly separates this from siblings like read_commons or task_action.

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?

It explicitly states the prerequisite ('First submit work via task_action results') and what this tool does not do, giving clear when-to-use guidance. It also names the required authentication context (result author's or task creator's bearer token) and the approved-task condition, leaving no ambiguity about the appropriate invocation context.

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.

Resources