Skip to main content
Glama

Show artifact

show_artifact
Read-onlyIdempotent

Show a saved artifact to the user as an inline card they can expand and scroll, in hosts that draw cards. Call it once after create_artifact or update_artifact saves one, or when the user asks to see an existing artifact. Returns its title, description and viewer link; nothing about the artifact changes. Where the host draws the card, the user can already see the artifact: say in a sentence what it shows and do not repeat its contents. Where no card appears, give the user the artifactUrl.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fileId": "<fileId>"
    },
    "name": "show_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe artifact's .artifact folder ID, as create_artifact, update_artifact or list_files returned it; never an embedded report file ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description still adds real value beyond them: nothing about the artifact changes, it returns title/description/viewer link, and card rendering is host-dependent. That last point (host-dependent rendering) is the distinguishing context that justifies more than a bare baseline.

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?

Front-loads what the tool does and the inline-card behavior, then gives triggers, the return payload, and two host branches. Every sentence carries operational content; there is no wasted wording and the branching guidance is clearly separated.

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 compensates by naming the returned fields (title, description, viewer link) and by explaining what to do when no card appears (supply artifactUrl) versus when it does (summarize, don't repeat). For a one-parameter read tool with full annotation coverage, nothing an agent needs is missing.

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%, and the single fileId parameter is already documented in the schema, including the warning not to pass an embedded report file ID. The description adds no further meaning beyond what the schema provides, so the baseline 3 is correct.

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 ('Show a saved artifact ... as an inline card') and implicitly distinguishes itself from create_artifact/update_artifact by being the display step. An agent can tell what this does and how it differs from the writer siblings without opening a 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 triggers: call once after create_artifact or update_artifact saves one, or when the user asks to see an existing artifact. It also covers the post-call branch and the 'once' qualifier that prevents redundant calls, leaving little to inference.

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