Skip to main content
Glama

AppScreens: App Store and Google Play Screenshots

Describe editable design settings

get_design_contract
Read-onlyIdempotent

Read-only reference for the editable design format: supported fields, native units, options and limitations. It changes and runs nothing. Without selectors it returns an index of element types, their fields and the operations apply_project_changes accepts. Use component to inspect one native element type, add property for one field (text + decoration for laurels, badges and bubbles), or use command for the fields of one apply_project_changes operation. Use full: true only for the complete page schema before editing a whole design document.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "component": "text"
    },
    "name": "get_design_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNoThe complete page schema and every command, for editing a whole design document. Large; prefer a selector.
commandNoInspect the input schema for one edit operation.
propertyNoOne top-level field of the selected component, e.g. decoration.
componentNoInspect only this native component.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, and the description reinforces this with 'It changes and runs nothing.' It adds behavior the annotations cannot express: the no-selector default returns an index rather than element data, and full:true is a large payload to be avoided in favor of a selector. It stops short of describing output shape or size limits, but the output schema covers returns.

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?

The most important facts are front-loaded: what the tool is, that it mutates nothing, and what the default returns. Four sentences carry a lot of routing information with little filler. The selector sentence is long and packs three alternatives plus a parenthetical domain aside, which slightly hurts scannability.

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 an output schema present, return values need not be described, and annotations cover the safety profile, so the description's burden is selection guidance and it meets that well. For a 4-parameter, zero-required introspection tool the definition is nearly sufficient; the remaining gap is not clarifying selector precedence or exclusivity, which an agent must infer before combining parameters.

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 the baseline is 3; the description goes further by explaining the selector hierarchy (component → property → command) and what each unlocks. It also adds domain knowledge not present in the schema, such as 'text + decoration for laurels, badges and bubbles' and the guidance to prefer a selector over full. It never states whether selectors are mutually exclusive or how they compose, which keeps it below a 5.

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 opens with a specific verb+resource framing ('Read-only reference for the editable design format') and enumerates what it covers: supported fields, native units, options and limitations. It also clarifies it is an inspection surface that 'changes and runs nothing', which separates it from mutation tools like apply_project_changes. It does not explicitly distinguish itself from similarly named read siblings such as get_project_design or get_project_element, leaving some ambiguity about which reader to pick.

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 states the default behavior with no selectors (returns an index of element types, fields, and accepted operations) and then routes by selector: 'use component to inspect one native element type, add property for one field... or use command for the fields of one apply_project_changes operation.' It also gives a when-not rule for the expensive path: 'Use full: true only for the complete page schema before editing a whole design document.' This is explicit when/when-not guidance with named alternatives.

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.