Skip to main content
Glama

glassbox_persist

Read-only

Detect added, changed, or removed persistence points—launch agents, shell startup files, git hooks, and agent configs—by comparing against a saved snapshot.

Instructions

glassbox: persistence points (launch agents, shell startup, git hooks, agent configs) added, changed or removed since a snapshot saved with glassbox persist --save.

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": {
      "since": "<since>"
    },
    "name": "glassbox_persist"
  }
}

Input Schema

NameRequiredDescriptionDefault
homeNoUse this directory as $HOME
reposNoRepositories whose hooks and configs to include
sinceYesSnapshot file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety and locality are covered. Beyond that the description adds genuine context — the categories inspected and the fact that results are a delta against a prior snapshot — but it says nothing about behavior when the snapshot file is absent or stale, nor what the result entries look like.

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?

It is a single dense sentence with the resource and the delta scope front-loaded, and no filler beyond the redundant 'glassbox:' namespace prefix. Every clause carries information about what is inspected or how it is compared.

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?

With only three fully documented parameters, no output schema and read-only annotations, the main remaining burden is describing what the call returns, and the phrase 'added, changed or removed since a snapshot' does convey the shape of the findings. The gaps around missing-snapshot behavior are minor for a read-only reporting tool.

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%, so `home`, `repos` and `since` are already documented in the input schema. The description mentions the snapshot only obliquely via the `glassbox persist --save` CLI reference and never links it to the `since` parameter, so it adds little semantic meaning on top of 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 names the concrete resource — persistence points such as launch agents, shell startup, git hooks and agent configs — and states the comparison scope ('added, changed or removed since a snapshot'). That lets an agent know exactly what class of finding it reports. It loses the top score because it never distinguishes itself from related siblings such as glassbox_reach or git_surface, which an agent would have to open to disambiguate.

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?

Usage is implied rather than stated: the tool reports drift relative to a snapshot, and the description notes the snapshot comes from `glassbox persist --save`. That gives a useful prerequisite but no explicit when-to-call/when-not-to-call rule and no pointer to an alternative tool for the same questions.

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