Skip to main content
Glama

inspect_region

Extract a PNG crop from a normalized [left,top,right,bottom] region of a downsampled visual sample and send it to the MCP host or model for inspection.

Instructions

Return a PNG crop of the downsampled visual sample. Box [left,top,right,bottom], normalized 0–1. Image goes to the MCP host/model.

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>",
      "box": "<box>"
    },
    "name": "inspect_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxYes
pathYes
time_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the result is a PNG routed to the MCP host/model and that the source is a downsampled sample (a resolution constraint), but says nothing about out-of-bounds boxes, missing paths, time_s behavior, or whether the operation is read-only versus side-effecting.

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?

Three short sentences, no filler, and the most decision-relevant facts (output type, coordinate convention, return destination) are front-loaded. Every sentence earns its place.

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?

For a tool with no annotations, no output schema, and 0% parameter documentation, the description should do more. It never explains what 'the downsampled visual sample' is derived from, what path points to, or how time_s affects the crop, so an agent cannot confidently construct a call.

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. It does an excellent job on box ('[left,top,right,bottom], normalized 0–1'), but path and time_s receive no explanation at all, leaving two of three parameters undefined in both schema and description.

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 output ('Return a PNG crop') applied to a named resource ('the downsampled visual sample'), so an agent knows exactly what it gets back. It does not differentiate itself from siblings such as view_frame or inspect_spatial, which likely produce similar imagery.

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 or when-not-to-use guidance, and no sibling is named as an alternative. The only hint is the implicit idea of cropping a region from a visual sample, leaving the agent to infer the choice between this and the other inspect/view tools.

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