Skip to main content
Glama

studio_add_frames

Add frames (each optionally with elements) to a Design Studio file, to the right of the existing ones. Changes are saved to the cloud file; an editor tab that already has the file open must be reloaded to see them (and would overwrite them if it saves first). Requires auth (write).

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": {
      "document_id": "<document_id>",
      "frames": "<frames>"
    },
    "name": "studio_add_frames"
  }
}

Input Schema

NameRequiredDescriptionDefault
framesYes
document_idYesStudio document UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does it well: it discloses cloud persistence, the editor-tab reload requirement, the data-loss hazard if a stale tab saves first, and that write auth is required. The main gap is that it does not say what the call returns (e.g. IDs of the new frames/elements), which matters for follow-up edits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action, then the persistence caveat, then the auth note. No filler, and the overwrite hazard is stated compactly in parentheses where it is most useful.

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?

For a write tool with no annotations and no output schema, the description covers auth, persistence semantics, and the concurrent-editor race, which are the hardest things for an agent to guess. It falls short only on return-value expectations and any ordering/limit constraints on the frames array.

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% and the nested frame properties (dpi, width_in/height_in, background, elements) are already well documented in the schema. The description adds only the append-to-the-right placement and that elements are optional and match studio_add_elements, leaving document_id and the return-side identity of frames unexplained.

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?

"Add frames ... to a Design Studio file, to the right of the existing ones" gives a concrete verb, resource, and even the spatial placement policy, plus the note that frames may carry elements. It is clearly distinct from studio_add_elements and studio_create_document by resource, though it never names a sibling or states an explicit boundary.

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

Usage Guidelines3/5

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

The use case is implied (you add frames when you need new frames in an existing document), and the reload/overwrite warning tells the agent when to be careful. There is no explicit when-not guidance or routing toward studio_add_elements versus this tool, so usage must be inferred.

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