Skip to main content
Glama

qt_scene_snapshot

Retrieves all items in a QGraphicsScene from a QGraphicsView reference, enabling inspection of scene contents.

Instructions

Get all items in a QGraphicsScene.

Args: ref: Ref to a QGraphicsView widget.

Input Schema

NameRequiredDescriptionDefault
refYes
instanceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Get all items' implies a read, but it does not explicitly state that it is non-mutating, whether it requires a GUI thread, or what limitations exist. An output schema exists, which covers return values, but the behavioral profile remains under-disclosed.

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?

Very short and front-loaded: the core purpose is the first sentence, with a brief Args block. No wasted prose, though the formatting is minimal.

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?

The output schema covers return values and the required parameter is explained, so the essentials are present for a simple read tool. However, the missing 'instance' documentation and lack of any usage or behavioral context leave gaps for an agent selecting among many Qt siblings.

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 0%, so the description must compensate. It does explain the required 'ref' parameter meaningfully as a reference to a QGraphicsView widget, which is useful beyond the bare schema, but the optional 'instance' parameter is not mentioned at all.

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?

States a specific verb and resource: 'Get all items in a QGraphicsScene.' The purpose is clear, but it does not differentiate from siblings like qt_snapshot, qt_object_tree, or qt_vtk_scene_info, which an agent must choose between.

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?

Provides no when-to-use guidance or alternatives. It never says when qt_scene_snapshot is preferable to qt_snapshot or qt_object_tree, so the agent must infer selection from tool names alone.

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