Skip to main content
Glama

sentry_shadowvault_query

Query ShadowVault Time-Machine snapshots and tracked file modifications for the current or specified AI agent session to review or restore changes.

Instructions

Query ShadowVault 1-click Time-Machine snapshots and file modifications tracked during the current AI agent session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sentry_shadowvault_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idNoOptional session ID to query (defaults to current active session)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. "Query" implies a read operation and the scope is limited to the current AI agent session, but the description does not disclose permissions, pagination, return behavior, or whether historical sessions are safe to inspect.

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 definition is a single, front-loaded sentence with no redundant wording. Every phrase contributes to identifying the resource or the session scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple query tool with one optional parameter and no output schema, the description gives enough context to understand what is being queried and which session is targeted. It could be stronger by clarifying whether only the current session is queried or whether a supplied session_id can retrieve other sessions.

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?

There is one optional parameter, session_id, and schema description coverage is 100%, so the schema already explains that it defaults to the current active session. The description reinforces the session-scoped context but does not add syntax or format meaning beyond the schema.

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 specific verb, "Query," and names the exact resource: ShadowVault Time-Machine snapshots and file modifications tracked during the current AI agent session. It is clear enough to distinguish this from sibling tools like sentry_status and sentry_audit_payload, though it does not explicitly contrast their purposes.

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 usage by stating that results are tied to the current AI agent session, and the schema notes that session_id defaults to the active session. However, it does not explicitly say when to use this tool versus the sibling tools, nor does it provide exclusions or prerequisites.

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