Skip to main content
Glama

studio_get_document

Outline of a Design Studio file: its frames (id, name, position, size) with the elements in each (id, type, position relative to the frame, text and font), and its uploaded fonts. Requires auth.

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>"
    },
    "name": "studio_get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYesStudio document UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It usefully discloses the auth requirement and that the payload is a structural outline rather than raw file bytes, which tells the agent this is a bounded read. It does not say whether missing/inaccessible documents raise errors, what permissions are needed beyond auth, or how much of a large document is returned.

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 sentence, front-loading the payload contents before the auth constraint, with a colon-structured enumeration that is easy to scan. Slightly cramped by listing return fields inline, but there is no filler.

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 must describe the return shape, and it does so concretely down to per-element fields and fonts. For a read-only single-parameter tool, the remaining gaps (error behavior, truncation on large documents) are minor; the key omission is how to obtain a valid document_id.

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?

There is a single parameter and schema description coverage is 100%, with the schema stating 'Studio document UUID' for document_id. The description only implicitly references the target as 'a Design Studio file' and adds no format or sourcing detail (e.g., obtain ids from studio_list_documents), so the schema does the real work.

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?

The description names a specific resource (a Design Studio file) and enumerates what the returned outline contains: frames with id, name, position, size, nested elements with type/position/text/font, plus uploaded fonts. That is far more than a restatement of 'get document'. It does not name a sibling it differs from, so it stops short of a 5.

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

Usage Guidelines2/5

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

The only guidance given is the precondition 'Requires auth.' There is no statement of when to call this versus studio_list_documents (to find an id) or the studio_add_* / studio_delete_objects mutators, and no indication that document_id must already be known. An agent must infer usage entirely.

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