Skip to main content
Glama

Get specs

get_specs
Read-only

Implementation specs of screens, for any platform: native iOS (SwiftUI, UIKit), Android (Compose, Views), Flutter, React Native or the web. Each screen is measured as rendered and described as an auto-layout tree: stacks (vertical / horizontal) with spacing, padding and alignment, fill / hug / fixed sizing per axis with the measured sizes, overlays, scroll areas; then colors (hex, with the design's token names), text styles, radii, shadows; content, icons (with the closest SF Symbol and Material Symbol), images, inputs and controls, states (pressed, selected, disabled…), navigation between screens; repeated items as lists with their fields and sample data; components with their props. It also gives what the design says beside the screens: the notes next to each screen on the board and its open comments. Screens of a flow passed together share their components and tokens, which come once.

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": {
      "fileId": "<fileId>",
      "frameIds": "<frameIds>"
    },
    "name": "get_specs"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo"full" (default) or "outline": structure, layout, sizes and content without colors and text styles.full
fileIdYes
frameIdsYesFrames (screens) to describe (see get_file).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description's job is to add context — and it does, disclosing that specs are measured as rendered, that components and tokens are deduplicated across frames passed together, and that board notes and open comments are included. It omits any mention of the 10-frame cap or response size behavior, which the schema only partially covers.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, but the body is one long semicolon-chained enumeration that reads as a data dump rather than structured guidance. Most items earn their place, yet the density makes it harder to scan than a short bulleted breakdown would be.

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 carries the full burden of describing return values, and it does so thoroughly — layout, styling, content, states, navigation, components, plus notes and comments. What is missing is operational context: the frame limit, behavior on invalid frame IDs, and any indication of response size for full detail.

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 67%, with detail and frameIds documented in the schema itself. The description adds real meaning for frameIds by explaining that screens of a flow passed together share components and tokens, which motivates batching. It says nothing about fileId or the maxItems limit, so it does not fully compensate for the remaining coverage gap.

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 — implementation specs of screens — and enumerates the platforms and the exact contents (layout tree, colors, text styles, states, navigation, components). An agent can tell this is the design-to-code spec extractor rather than a screenshot or HTML dump. It stops short of explicitly contrasting itself with siblings like get_screenshot or export_code.

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?

Usage is only implied: 'implementation specs' signals the implement-a-screen scenario, and the closing line about passing screens of a flow together is a genuine batching tip. There is no explicit when-to-use/when-not guidance and no named alternative for cases where a screenshot or code export would be better.

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.