Skip to main content
Glama

Show generated item

read_artifact
Read-only

Return a generated item itself, for showing it where a YouSpot link cannot be opened: a social image comes back as the PNG, a PDF as an image of each page, an email, document or Substack post as its text. Takes an artifact_id from a generator or list_artifacts. A draft comes back watermarked; the user unlocks the clean copy for a credit, or at no charge on a Solo or Pro plan. Set for_edit only when you are about to change the item; some items return their source only then.

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": {
      "artifact_id": "<artifact_id>"
    },
    "name": "read_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
for_editNoTrue only when you will change the item next.
artifact_idYesAn artifact_id from a generator or list_artifacts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / for_edit
      Added value: +{
      +  "description": "True only when you will change the item next.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Consistent with readOnlyHint=true, and it adds substantive behavior the annotations cannot convey: drafts return watermarked, the clean copy costs a credit or is free on Solo/Pro, and some items only expose their source when for_edit is set. These are exactly the side effects and cost implications an agent needs before calling.

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?

Three sentences, each carrying distinct information — purpose, return formats, and credit/unlock behavior — with the primary purpose front-loaded. Slightly dense with nested clauses, but no filler sentences.

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?

With no output schema, the description correctly takes on the burden of describing return shapes per artifact type, and covers the draft/unlock economics. The main remaining gap is how it differs from the similarly named get_artifact sibling, which an agent must resolve on its own.

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 real meaning beyond the schema: for_edit is not just a boolean but a mode that can change what content is returned (source vs rendered output). The provenance of artifact_id is also restated, which is redundant but harmless.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ("Return a generated item itself") and immediately qualifies the purpose: displaying an item where a YouSpot link cannot be opened. It further subdivides by artifact type (PNG for social images, per-page images for PDFs, text for email/document/Substack), which is concrete. It does not differentiate itself from the sibling get_artifact, leaving that ambiguity unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is stated explicitly: use it when a link cannot be opened. It also names list_artifacts and generators as the source of the artifact_id, and gives a conditional rule for the for_edit flag. There is no explicit when-not or named alternative (e.g., vs get_artifact), so it falls short of a 5.

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.