Skip to main content
Glama
stream-deck-mcp
by sohumsuthar

streamdeck_get_layout

Retrieves the current button layout of a Stream Deck profile or page, showing which action is assigned to each button so you can inspect and verify your configuration.

Instructions

Get the current button layout showing what action is assigned to each button on the Stream Deck

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage ID. Uses current page if omitted.
profileIdNoProfile ID (from streamdeck_list_profiles). Uses default if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden. It implies a read operation and hints at the return contents (per-button action assignments), but never states that it is non-mutating, how it behaves with an invalid pageId or profileId, or what the layout structure looks like. For a zero-annotation tool this leaves real behavioral gaps.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity comes at the cost of the usage and behavioral detail noted elsewhere.

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

Completeness3/5

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

For a simple two-optional-parameter read tool this is close to adequate: it says what is retrieved and at what granularity. However, with no annotations and no output schema, the description should carry more about the shape of the returned layout and read-only semantics.

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?

Both parameters are fully documented in the schema (100% coverage), including the default-to-current-page and default-profile behavior, so the schema already does the heavy lifting. The description adds nothing about pageId or profileId, which is acceptable at the baseline but not additive.

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 pairs the verb "Get" with a specific resource, "current button layout," and clarifies the payload as "what action is assigned to each button on the Stream Deck." An agent can distinguish it from the mutation siblings (streamdeck_add_*, streamdeck_set_title, streamdeck_remove_action) and from streamdeck_list_profiles, though it never explicitly contrasts itself with them.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites, and no pointer to alternatives such as streamdeck_list_profiles for resolving a profileId. The word "current" implies reading live state, but the agent must infer that this is the read path versus the many write-oriented siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.