Skip to main content
Glama

Load a project's screen viewer

get_project_view
Read-onlyIdempotent

Called by Sleek's screen viewer to load a project's screens, in canvas order, with their images and the viewer's text. To read screens yourself, use list_components.

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": {
      "projectId": "<projectId>"
    },
    "name": "get_project_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNoRun id from data.runId in a design result. Marks the screens that run changed.
styleNoThe style to read, by its letter, such as b. Defaults to the project's main style.
localeNoThe host's BCP 47 locale, such as pt-BR. The viewer's text uses it when Sleek supports that language.
projectIdYesProject id from an item's id in list_projects, or data.id in create_project.

Output Schema

NameRequiredDescriptionDefault
nameYesProject name.
screensYesThe project's screens in canvas order, up to 200. Every screen the runId run changed is listed.
projectIdYesThe project's id.
runStatusNoStatus of the run named by runId, when one was given.
projectUrlYesOpen link for the project. Share it with your user.
screenCountYesHow many screens the project has, including any not listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / style
      Added value: +{
      +  "description": "The style to read, by its letter, such as b. Defaults to the project's main style.",
      +  "pattern": "^[a-z]$",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds that screens come back in canvas order and include images plus viewer text, which is real behavioral context, but an output schema exists and likely documents the same return content. Nothing is said about result size, pagination, or behavior when projectId is unknown.

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?

Two sentences, zero padding, and the key scoping statement about canvas order and returned content is front-loaded. The sibling redirect is placed last, which is the natural reading order for a fallback.

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 full schema coverage, rich annotations and an output schema, the description carries only the burden of purpose and routing, and it handles both. The only shortfall is that a reader may come away unsure whether an agent should ever call this tool directly, since the guidance leans entirely toward the alternative.

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 description coverage is 100% and each parameter (projectId, runId, style, locale) carries its own description, so the baseline of 3 applies. The description adds no parameter-level meaning beyond the schema — for instance it never explains what marking screens by runId does to the output.

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?

States a specific verb and resource — 'load a project's screens, in canvas order, with their images and the viewer's text' — which is far more precise than the title alone. It also distinguishes itself from list_components, though the opening framing ('Called by Sleek's screen viewer') describes the caller more than the capability, slightly blurring what the tool is for from an agent's perspective.

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

Usage Guidelines4/5

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

Explicitly routes the agent elsewhere: 'To read screens yourself, use list_components.' That is a concrete alternative with a stated condition, which is exactly the kind of guidance most definitions omit. It stops short of saying when this tool itself is the right choice, leaving that to be inferred from the viewer framing.

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.