Skip to main content
Glama

prepare_visual_baseline

prepare_visual_baseline

Prepare visual baseline candidates for review, returning a summary and preview without committing to a formal baseline. Requires user authorization.

Instructions

准备视觉基准候选,返回摘要与预览;不采用正式基准。需要用户授权。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseIdsNo
importsNo
projectPathYes
viewportIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.3

TDQS

A3.5/5.0
Behavior4/5

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

Annotations provide no safety hints (all false), so the description carries the burden. It adds that the tool does not formally adopt a baseline and requires user authorization, which clarifies the side-effect profile beyond the annotations. It also mentions the return of a summary and preview, giving a partial picture of behavior, though it does not detail any state changes or object creation.

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?

The description is a single, dense sentence with no fluff; the core action is front-loaded and followed by key behavioral caveats. Every clause adds information. It is appropriately sized for the content it covers.

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?

With four parameters, no output schema, and no annotation hints, the description leaves significant gaps: no parameter explanations, no usage guidance versus siblings, and no description of the returned summary/preview structure. It is enough to hint at purpose but not enough for an agent to correctly populate the complex inputs. The tool appears non-trivial (imports array of objects) and needs richer context.

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?

Schema description coverage is 0%, so the burden falls entirely on the description, but it mentions no parameters at all. The text does not explain the roles of projectPath, caseIds, viewportIds, or imports or how they relate to the prepared baseline candidates. An agent must guess parameter semantics from property names alone.

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 clearly states the action 'prepare visual baseline candidates' and its immediate outputs ('returns summary and preview'). It also distinguishes itself from the sibling approve_visual_baseline by noting it does not adopt a formal baseline. This gives an agent a specific verb-object pair and a differentiating constraint.

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 description implies this is a pre-approval step by stating it does not adopt a formal baseline, and it notes user authorization is required. However, it never explicitly states when to use this tool versus approve_visual_baseline or the other task siblings, nor gives any exclusion criteria. The usage context is inferable but not spelled out.

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