Skip to main content
Glama

inspect_spatial

Measure image-space layout, regional colors, and contrast in local PNG/JPEG images or video frames to assess visual composition using normalized coordinates.

Instructions

Measure image-space layout, regional colors and contrast in a local PNG/JPEG or video frame. Normalized image coordinates, no physical depth or object recognition.

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": {
      "path": "<path>"
    },
    "name": "inspect_spatial"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
time_sNo
grid_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. Calling the operations "measure" and "no physical depth" implies a non-destructive read, and the disclosure of coordinate normalization is genuinely useful behavioral context. But it says nothing about whether video requires frame selection, what the response contains, or how grid_size affects behavior, leaving meaningful gaps for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler: the positive capability comes first, the scoping limits second. Every clause carries information an agent would otherwise lack, and the constraints are front-loaded rather than buried.

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 three-parameter tool with no annotations and no output schema, the description establishes purpose and boundaries but not the mechanics. It does not explain how video frames are addressed or what the returned measurements look like, which is the gap an agent must close before calling it confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it only partly does. "Local PNG/JPEG or video frame" clarifies that path takes a local file and implies time_s is for video frames, but time_s, its default, and units are never explained. grid_size is entirely unaddressed, leaving the agent to guess that it controls regional sampling resolution.

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 concrete verb-and-resource pair: measure image-space layout, regional colors, and contrast. It also scopes the input to local PNG/JPEG files or video frames and rules out physical depth and object recognition, which separates it from siblings like inspect_media or view_frame. It stops short of naming an alternative explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines3/5

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

The negative scoping ("no physical depth or object recognition") tells the agent when this tool is the wrong choice, which is useful implied guidance. However, the description never states a positive trigger condition or points to a sibling tool for depth, object recognition, or non-local media. Usage must be inferred from the purpose statement alone.

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