Skip to main content
Glama

List screens

list_components
Read-onlyIdempotent

List a project's screen names and active version numbers without generated HTML. Pass each item's screenId to design. Pass its id as componentId to get_component or in componentIds to screenshot. Use get_component only when you need a screen's code.

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": "list_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of items to return.
styleNoThe style to read, by its letter, such as b. Defaults to the project's main style.
offsetNoNumber of items to skip before this page.
projectIdYesProject id from an item's id in list_projects, or data.id in create_project.

Output Schema

NameRequiredDescriptionDefault
dataYesItems on this page.
paginationYes

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. Changed4 schema fields changed
    • addedOutput schema / properties / data / description
      Added value: +"Items on this page."
    • changedOutput schema / properties / data / items / properties / screenId / description
      Previous value: -"The id of the screen this component renders on the canvas. It is the value target.screenId takes when you edit this screen with a chat message, and the same screenId run results report. Null when the component is not placed on a canvas."New value: +"Pass as screenId to design to edit this screen. Null when the component is not placed on the canvas."
    • addedOutput schema / properties / pagination / properties / limit / description
      Added value: +"Page size used for this response."
    • addedOutput schema / properties / pagination / properties / offset / description
      Added value: +"Items skipped before this page."
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so safety needs no restating. The description adds real value beyond them by disclosing what the payload excludes (generated HTML) and what the returned fields mean (screen names plus active version numbers), though it says nothing about pagination behavior despite limit/offset params.

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?

Four short sentences, front-loaded with the core purpose, then chained id-routing instructions. No filler or restatement of the title; every sentence carries either scope, routing, or the sibling exclusion.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a full input schema, an output schema, and complete annotations, the description's remaining job is purpose, routing, and exclusions — all covered. Nothing an agent needs to call this correctly and hand its results to design, get_component, or screenshot is missing.

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 baseline would be 3, but the description goes beyond field docs by explaining how the returned id is reused as componentId in get_component and componentIds in screenshot, and by identifying screenId as a distinct field. It does not clarify limit/offset semantics, leaving that to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ('List a project's screen names and active version numbers') and adds a scoping constraint ('without generated HTML') that separates it from code-fetching siblings. An agent can distinguish it from get_component without opening either schema.

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?

Gives explicit downstream routing: pass screenId to design, id as componentId to get_component or in componentIds to screenshot. It also names the exclusion condition — 'Use get_component only when you need a screen's code' — which is exactly the when/when-not guidance that resolves the closest alternative.

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.