Skip to main content
Glama

Update the gallery work

update_gallery_work
Idempotent

Makes the project's published gallery work exhibit its latest delivered final — or the run_id given — under the SAME public URL: the act for a piece re-rendered after it was published (the project status reports that state as publication.gallery.exhibitsLatestFinal: false). The public copy, subtitle track, chapter count, poster and playback ladder are rebuilt from that final; the URL and the publication date stay the same. Returns outcome (reexported or already_exhibited) and the exhibited run. Requires write. $0.

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": {
      "project_id": "<project_id>"
    },
    "name": "update_gallery_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idNoA delivered final of this project to exhibit; omitted = the latest one.
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare idempotent=true and destructive=false, but the description goes well beyond them: it discloses what is regenerated (public copy, subtitle track, chapter count, poster, playback ladder), that the URL and publication date are preserved, the required `write` scope, and the $0 cost. Return values are also named (`outcome` = `reexported` or `already_exhibited`), so the agent knows how to detect a no-op.

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?

A single dense sentence plus a short outcome/cost sentence, front-loaded with the effect and the URL guarantee. Every clause carries information, though the parenthetical status path and the rebuild list make it longer than typical; nothing is wasted.

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?

No output schema exists, yet the description names the returned fields and their possible values, states the auth scope and cost, and describes the mutation's blast radius versus what stays stable. For a two-parameter idempotent mutation, an agent has everything needed to invoke it correctly.

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 50%: `run_id` is documented in the schema and `project_id` is undocumented in both places. The description clarifies that omitting `run_id` means the latest delivered final, which is useful but largely restates the schema note; it adds no meaning for `project_id`. Baseline 3 is appropriate at this coverage level.

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 with precise effect: make the published gallery work exhibit its latest delivered final (or the given run_id) under the SAME public URL. It also enumerates exactly what is rebuilt versus what is preserved, so an agent can separate it from siblings like derive_rendition or produce 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 Guidelines4/5

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

Gives an explicit trigger condition — a piece re-rendered after publication, diagnosable via `publication.gallery.exhibitsLatestFinal: false` — which is strong when-to-use guidance. It does not name an alternative tool or spell out when-not to use it, so it falls just 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.

Resources