Skip to main content
Glama

artifacts_get

Read-onlyIdempotent

Fetch an artifact's metadata by id or slug — title, access level, version, view count, URL, and events: what visitors pressed on the published page (elements marked data-track, see artifacts.create), per name with count and first/last time. Set recent_events to also get the last presses one by one. Set include_html=true to also return the latest HTML body (so you can read-then-edit before calling artifacts.update). For a presentation it returns kind: "deck" and deck ({css, slides: [{id, html, notes?, class?}]}) instead of html.

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": "artifacts_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoThe artifact slug. Pass this or artifact_id.
artifact_idNoThe artifact id. Pass this or slug.
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.
include_htmlNoIf true, include the latest version's HTML body.
recent_eventsNoHow many of the latest presses to list one by one (name + time, newest first), 0-200. Totals per name are always returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / recent_events
      Added value: +{
      +  "description": "How many of the latest presses to list one by one (name + time, newest first), 0-200. Totals per name are always returned.",
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is added context — and it delivers by describing return shape, event semantics (data-track elements, per-name counts plus first/last time), and the deck branch. It does not cover failure behavior (unknown id/slug), permissions, or what happens when both identifiers are omitted.

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?

Dense but front-loaded: the core action and return fields come first, then flag behaviors, then the deck variant. Every sentence carries information, though the single-paragraph run-on covering events and HTML slightly blurs the scan order.

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 compensates by describing the returned fields and the deck-vs-html divergence. It remains thin on the consequence of passing neither slug nor artifact_id (both optional) and on error conditions, which are the only real gaps for a read-only fetch.

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; the description adds genuine meaning by tying include_html to a read-then-edit workflow before artifacts.update and clarifying that totals per event name are always returned regardless of recent_events. The artifact_id/slug alternative is asserted but not disambiguated for the case where neither is supplied.

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?

Opens with a specific verb and resource ('Fetch an artifact's metadata by id or slug') and then enumerates the returned fields, so an agent knows exactly what this yields. It also distinguishes the two return shapes (deck vs html) and names artifacts.create/artifacts.update as the related tools, making it separable from siblings like artifacts_list.

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?

Gives clear conditional guidance for the two non-obvious flags: include_html for a read-then-edit flow before artifacts.update, and recent_events when individual presses are needed. It lacks an explicit 'use artifacts_list first if you don't have an id/slug' routing statement, which keeps it 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.