Skip to main content
Glama
Magic Lane MCP DevKit Server

Magic Lane MCP DevKit Server

Official
by magiclane

Get Style

get_style
Read-onlyIdempotent

Read a Magic Lane Studio style or template's metadata, current version, and optional full JSON to obtain the baseVersion required before updating it; set includeData=false for metadata only.

Instructions

Read one Magic Lane Studio style (or template) of the account: its metadata, its current "version" string and, by default, its full style JSON as "data" (170–190 KB). Call this before update_style or edit_style_details to obtain the version to send as baseVersion; set includeData=false when only the metadata is needed. A style of another account is reported as not found. "dataFormat", next to "data", lists the format traps (colours are ABGR integers); before editing, read the essentials with get_style_reference (no arguments, also resource magiclane://docs/style-essentials).

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": {
      "id": "<id>"
    },
    "name": "get_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStyle id (from list_styles) or template id (from list_templates).
includeDataNoInclude the full style JSON ("data", 170-190 KB). Set false to read only the metadata and the current version, for example before edit_style_details.

Output Schema

NameRequiredDescriptionDefault
idYesStyle id (UUID).
dataNoThe style JSON document.
nameYesStyle name.
tagsYesFree-text tags.
updatedYesLast save, ISO date-time.
versionYes
purposesYesWhat the style is meant for, such as "browse".
sectionsNoTop-level sections of the style JSON.
publishedYesWhen the style was last published, or that it never was.
dataFormatNoWhat to know before editing data.
isTemplateYesTrue for a shared template, which cannot be changed.
resolutionYes
descriptionYesStyle description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered; the description still adds substantial context beyond them: the default payload is 170–190 KB, the version string is required as baseVersion for later writes, and a foreign-account style 'is reported as not found' rather than leaking. It also flags the 'dataFormat' companion field and its trap (colours are ABGR integers), which no annotation conveys.

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?

Information is front-loaded: what it reads, what it returns, then the ordering rule, then the size hint. The single block is dense and stacks several cross-references (get_style_reference, magiclane://docs/style-essentials, dataFormat) into one sentence, which slightly hurts scannability, but essentially every clause carries actionable content.

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?

For a two-parameter read tool with a full output schema and complete schema descriptions, the description covers the remaining gaps an agent would hit: payload size, the version string's downstream role, cross-account error behavior, and a pointer to format conventions. Return-value structure is correctly left to the output schema rather than duplicated.

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 both parameters are already documented and the baseline would be 3. The description still adds real meaning by tying includeData=false to a concrete use case (metadata-only reads before edit_style_details) and quantifying the cost of the default payload at 170–190 KB, which is decision-relevant rather than a restatement.

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?

The description opens with a specific verb and resource: 'Read one Magic Lane Studio style (or template) of the account,' then itemizes exactly what comes back (metadata, version string, full style JSON). An agent can distinguish this read tool from edit_style_details, update_style, or list_styles without consulting their schemas.

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?

It gives an explicit ordering rule ('Call this before update_style or edit_style_details to obtain the version to send as baseVersion'), a conditional ('set includeData=false when only the metadata is needed'), and routes to a sibling ('read the essentials with get_style_reference') before editing. When-to-use, when-not-to-use, and the alternative are all stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.