Skip to main content
Glama

Dashboard state

get_dashboard_state
Read-onlyIdempotent

List live owned dashboards (browser tabs), or read a selected dashboardId with current UI state. Each listed tab carries a label, the tab it shows, whether it is on screen (visible) and focused, its device, and lastSeen; recommendedDashboardId is where a control action without dashboardId goes, and selectionRequired is true only when no tab stands out — then pass the dashboardId whose label matches what the user is looking at, or ask the user to approve the action in that tab.

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

Input Schema

NameRequiredDescriptionDefault
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: it enumerates the returned per-tab fields (label, tab, visible, focused, device, lastSeen) plus recommendedDashboardId and selectionRequired, which is valuable given there is no output schema. It does not mention pagination, ordering, or how 'live' tabs expire, keeping it below a 5.

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 content is dense and largely front-loaded, with the list-or-read mode stated first and no filler sentences. But it is delivered as one long run-on chain of field names and conditionals, which would read far better as two or three sentences or a short list; the enumeration of return fields in particular blurs into the usage instruction.

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 compensates by describing the shape of the returned tab objects and the two derived fields, which is the information an agent most needs to act on the result. The main remaining gap is the unexplained idempotencyKey and expectedRevision parameters, which matter for a tool that feeds approval-gated control actions.

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 only 33%, so the description must carry more weight; it does well for dashboardId, explaining it identifies which live tab and when it may be omitted (last-approved tab, only live tab, only visible tab). However, idempotencyKey and expectedRevision receive no explanation anywhere in the description, leaving two of three parameters semantically opaque.

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?

The description names a specific verb and resource and covers both modes: 'List live owned dashboards (browser tabs)' and 'read a selected dashboardId with current UI state'. The parenthetical '(browser tabs)' disambiguates 'dashboard' from any analytics-dashboard meaning, and the read/select framing is distinguishable from control-oriented siblings such as acquire_dashboard_control.

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 gives concrete routing logic: when selectionRequired is true, 'pass the dashboardId whose label matches what the user is looking at, or ask the user to approve the action in that tab', and it explains that recommendedDashboardId is the default target for a control action without a dashboardId. That is clear when-to-use guidance, but it never explicitly says to call this before acquire_dashboard_control or what to do when zero live tabs exist, so it stops short of full when/when-not coverage.

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.