Skip to main content
Glama

inspect_scene

Read-only

Query scene metrics, spatial descriptions, elements, viewport, and server status to inspect diagram structure, locate elements, and check layout.

Instructions

Query scene metrics, spatial descriptions, elements, viewport, or server status.

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

Input Schema

NameRequiredDescriptionDefault
modeNosummary
typeNo
limitNo
queryNo
offsetNo
detailedNo
frame_idNo
element_idNo
include_rawNo
connected_toNo
resource_uriNo
include_bound_labelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.4.0
    • changedInput schema / properties / connected_to / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 200,
      -    "minLength": 1,
      -    "pattern": ".*\\S.*",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / element_id / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 200,
      -    "minLength": 1,
      -    "pattern": ".*\\S.*",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / frame_id / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 200,
      -    "minLength": 1,
      -    "pattern": ".*\\S.*",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Addedv0.3.0

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered externally. The description adds only a broad list of query targets and does not explain mode-specific behavior, pagination, what server status means, or whether any inspection modes require a live connection.

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 description is a single front-loaded sentence with no wasted wording. However, that brevity is not matched to the tool's complexity: eight enum modes and twelve parameters are collapsed into an unstructured list, so the sentence is over-compressed rather than appropriately sized.

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

Completeness2/5

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

Given twelve parameters, multiple modes, no output schema, and no parameter descriptions, the definition is materially incomplete. The one-sentence overview lets an agent know this is a scene-inspection tool, but it leaves too much about mode selection, parameter usage, and returned information unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 12 parameters with 0% description coverage, and the description does not map any parameter to its meaning or allowed values. It lists broad query targets that loosely correspond to modes, but it does not explain 'mode', 'type', 'limit', 'offset', 'query', 'detailed', 'include_raw', 'frame_id', 'element_id', 'connected_to', 'resource_uri', or 'include_bound_labels'.

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 gives a specific verb ('Query') and resource ('scene'), and enumerates the kinds of data available: metrics, spatial descriptions, elements, viewport, and server status. It does not explicitly distinguish this inspection tool from a sibling such as 'preview', so it falls short of 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 Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no mention of when to choose this instead of siblings like 'preview'. The read-only nature of the operation is implied by the name and annotations, but the description itself does not route the agent.

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