Skip to main content
Glama

vrt_session_info

Inspect cached designs and manage visual regression test sessions: list active sessions, retrieve session details, or clear old cached session data.

Instructions

Query or manage VRT sessions and cache. Use to inspect cached designs, list active sessions, or clean up old sessions.

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": {
      "action": "<action>"
    },
    "name": "vrt_session_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesAction: 'list' all sessions, 'get' specific session info, 'clear' specific session, 'clear_all' sessions
session_idNoSession ID (required for 'get' and 'clear' actions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It mentions 'clean up old sessions' but never discloses that 'clear' and 'clear_all' are destructive and irreversible, whether cache invalidation affects other users, or what permissions are required — a serious gap for a tool containing a bulk-delete action.

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?

Two short sentences, front-loaded with the purpose and followed by the use cases. No filler, though the second sentence partly duplicates the action names already in the schema.

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?

A tool with a bulk-destructive action and zero annotations, no output schema, and no statement of what 'session info' returns or what clearing does to downstream state. The definition is not complete enough for an agent to invoke 'clear_all' safely.

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 description coverage is 100%, and the action enum documents each value and the session_id requirement, so the schema does the heavy lifting. The description adds no meaning beyond it (no detail on formats, ID sources, or default behavior).

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 set and resource: 'Query or manage VRT sessions and cache', then enumerates the concrete capabilities (inspect cached designs, list sessions, clean up old sessions). This distinguishes it from a comparison tool like vrt_compare, though the description never names that sibling.

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?

Provides implied usage context in the second sentence ('Use to inspect cached designs, list active sessions, or clean up old sessions'), which maps loosely onto the actions. It gives no guidance on when not to use the tool, no prerequisites for destructive actions, and no explicit alternative for inspection tasks.

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

Deploy Server

Other Tools