Skip to main content
Glama

Publish a gallery template

publish_template

Publish a compared template as an official HyperCodeMotion Studio gallery template once its comparison with the original looks faithful. Takes the tracking code, the moderator code and notes on what is consciously different from the original and why. Its gallery videos are rendered and the template is committed to the Studio code on its own branch, with a pull request whose preview shows it in the gallery: a moderator approves (merges) or discards it there. get_proposal_status gives the pull request link.

Input Schema

NameRequiredDescriptionDefault
codeYesThe tracking code.
notesYesUp to 600 characters: what is consciously different from the original and why, or that nothing is.
adminCodeYesThe moderator code the user gave with the link. Required: only moderators can make gallery templates. Never repeat it back.

Output Schema

NameRequiredDescriptionDefault
codeNo
errorNo
statusNo
messageNo
acceptedYes
officialNo
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / adminCode
      Added value: +{
      +  "description": "The moderator code the user gave with the link. Required: only moderators can make gallery templates. Never repeat it back.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "code",
      -  "notes"
      -]New value: +[
      +  "code",
      +  "adminCode",
      +  "notes"
      +]
    • addedOutput schema / properties / official
      Added value: +{
      +  "type": "object"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that gallery videos are rendered, code is committed to a branch, and a pull request is opened for moderator approval or discard — significant, non-obvious side effects and a human review gate. Given a three-parameter mutation with openWorldHint=true, a note on timing or whether the call blocks until rendering finishes would have completed it.

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?

One dense paragraph that front-loads the action, then the required inputs, then the downstream effects. Almost every clause carries a distinct fact, though the run-on syntax where rendering, branching, and PR approval are strung together costs a little readability.

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?

An output schema exists and annotations cover the safety profile, so the description only needs to explain the human-facing lifecycle — which it does: inputs, rendering, branch/PR, moderator merge-or-discard, and where to check status. Nothing an agent needs before calling 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 coverage is 100%, so all three parameters are already documented with meaning and constraints (600-char notes, moderator-only adminCode, never repeat it). The description restates the parameter roles in prose but adds no syntax or format detail beyond the schema, so the baseline applies.

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?

Specific verb and resource: 'Publish a compared template as an official ... gallery template', which sets it apart from ordinary template creation. It does not explicitly frame the boundary with the sibling propose_template (presumably the earlier comparison step), so differentiation is implied by the word 'compared' rather than stated.

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 a clear precondition for use ('once its comparison with the original looks faithful') and routes to get_proposal_status for the pull request link. It stops short of stating when NOT to use it or naming propose_template as the alternative for an un-compared template.

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.