Skip to main content
Glama

Screen sizes

get_screen_sizes
Read-only

The screen sizes one site is designed and checked at: each standard size with its width and height in CSS pixels, whether it is on, its share of the site's page views over the last 30 days (pageViewsPercent, a whole percent or "under 1"; absent when the site has no recorded visits), plus the sizes the owner added (added: name, widthPx, heightPx), and whether the person may change them. Every standard size is on unless the owner turned it off. Changing them is set_screen_sizes.

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": {
      "project_id": "<project_id>"
    },
    "name": "get_screen_sizes"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe site (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description nevertheless adds useful behavior: the 30-day page-view window, pageViewsPercent being a whole percent or "under 1" and absent when there are no recorded visits, the default-on rule, and whether the caller may change the sizes. That is real added context, though return formatting and pagination are untouched.

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?

It is a single dense sentence that front-loads the core subject and ends with the routing hint to set_screen_sizes, so there is little waste. The nested parenthetical clauses make it slightly run-on, but every clause carries field-level information.

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?

There is no output schema, so the description carries the full burden of describing the response, and it does: width/height in CSS pixels, enabled state and its default, pageViewsPercent semantics including the edge case, added sizes with name/widthPx/heightPx, and a permission flag. For a two-parameter read tool, nothing an agent needs to interpret results is missing.

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 100% and both parameters are fully documented in-schema, so the baseline applies. The description only obliquely reinforces that project_id identifies a single site ("one site") and adds nothing about workspace_id or the omit-when-one case. It does not compensate further, but it does not need to.

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 concretely names the resource (the screen sizes one site is designed and checked at) and enumerates what each entry carries, so it is clearly more than a restatement of the name. It also explicitly separates the read tool from its write counterpart (set_screen_sizes). It reads slightly as a return-value spec rather than a statement of action, which keeps it just under 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 Guidelines4/5

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

It names the alternative explicitly (set_screen_sizes) and frames this tool as the inspection path, which gives the agent a usable decision rule. There is no explicit when-not guidance beyond that single contrast, and no prerequisites are mentioned, so it is clear context without full exclusions.

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