Skip to main content
Glama

clean-process-ended

Ask DeepWiki

Other languages: Español | Deutsch | Português do Brasil | 中文 | 日本語

Ownership-first local MCP process janitor for AI coding agents, built for Codex Desktop, Claude Code, Gemini CLI, Qwen Code CLI non-destructive tool workflows with Ollama-backed Qwen models, and MCP-compatible host workflows where subprocesses can outlive the useful work.

clean-process-ended inspects local subprocesses related to agent and MCP sessions, separates session ownership from weak similarity signals, and produces reviewable dry-run cleanup plans backed by reproducible evidence before any environment action is considered.

clean-process-ended runs as a local stdio MCP server. Codex Desktop, Claude Code and Gemini CLI have dry-run validation; Qwen Code CLI has native non-destructive MCP tool-invocation validation with Ollama-backed Qwen models. Other MCP-compatible hosts can be tested through the generic MCP profile.

The project is designed for local MCP and coding-agent workflows where subprocesses, browser helpers, devtools, local servers or MCP servers can keep running after the host session or task has ended. It classifies processes by ownership evidence instead of process-name similarity, then reports what is actionable, blocked, related or unknown.

It does not send process evidence to a remote service, does not store full command lines by default, and does not treat beta diagnostics as permission to terminate processes.

What you get

  • Agent process visibility: see local subprocesses related to Codex Desktop, Claude Code, Gemini CLI, Qwen Code CLI non-destructive tool workflows with Ollama-backed Qwen models, generic MCP hosts and future validated runtimes without relying on process-name cleanup.

  • Ownership-first safety: classify owned_current_session, related_unowned and unknown_owner before planning anything destructive.

  • Dry-run close checks: give agents a concrete end-of-task protocol through janitor_discovery, session_close_check, reports, candidates and audit bundles.

  • Reproducible evidence: generate sanitized receipts, SHA-256 evidence, audit bundles and support-matrix notes for review.

  • Managed lifecycle helpers: wrap known local commands with cpe-run so later dry-run reconciliation has stronger evidence.

  • Optional memory pairing: combine with codex-agent-mem (GitHub) so continuity and process hygiene can be closed together.

Related MCP server: minecraft-developing-mcp

Why this repository exists

  • AI coding agents can leave MCP servers, browser drivers, local dev servers and helper processes behind.

  • A process name like node, python, chrome, mcp or codex is not proof of ownership.

  • Users need a safe close-task protocol before deciding whether any process should be cleaned up.

  • Public tooling should make the conservative path easy: inspect, explain, dry-run, record evidence, then ask a human.

  • clean-process-ended turns local process hygiene into an auditable workflow instead of an ad hoc task-manager guess.

Status

  • Version: 0.7.3 beta.

  • Runtime: Node.js >=18.17.

  • Transport: MCP stdio.

  • Cleanup default: dry-run.

  • Automatic cleanup default: disabled.

  • Persistent watcher: not installed by default.

Do not treat beta results as a replacement for operator review. The public v0.7.3 CLI/MCP surface provides runtime-validated process hygiene, evidence and dry-run planning; it does not execute real termination from the public CLI/MCP surface.

Validation Snapshot

Current v0.7.3 public-beta evidence separates runtime validation metrics from adoption metrics. It proves discovery, reports, evidence and dry-run planning paths; it does not claim cleanup-real validation:

Area

Current evidence

MCP tool surface

Core close-check, report, explain, policy, audit and managed-lifecycle tools are exposed by the server.

Codex

Native local validation after restart; dry-run only.

Claude Code

Native local MCP validation completed; dry-run only; sanitized evidence summary available.

Gemini CLI

Native local MCP validation completed; dry-run only; sanitized evidence summary available.

Qwen Code CLI

Native local MCP tool-invocation validation completed with Ollama-backed Qwen models; non-destructive diagnostic workflow only; full dry-run close-check parity is not claimed.

Public cleanup real

0 real cleanup executions are part of public validation.

Evidence privacy

Public receipts are designed to exclude full command lines, raw process output, env vars, tokens and secrets.

Public Validation Metrics

These are real validation metrics from the public beta line and release gate, not adoption metrics such as stars, forks, downloads or third-party production usage:

  • Validated MCP host workflows: 4 (codex, claude_code, gemini_cli, qwen_code), including three dry-run close-check workflows and one Qwen Code CLI native non-destructive MCP tool-invocation workflow; Qwen dry-run close-check parity is not claimed.

  • MCP stdio smoke surface: the shipped server exposes the close-check, report, explain, policy, audit and managed-lifecycle tool catalog.

  • Local release gate: ESLint, syntax checks, Node tests, MCP stdio smoke, strict package validation, public-tree check, dependency audit, npm pack --dry-run and installed-tarball smoke.

  • GitHub Actions matrix: configured for Windows, macOS and Linux across Node 18, 20 and 22.

  • Public real-cleanup executions: 0.

  • Production dependency audit target: 0 moderate-or-higher vulnerabilities.

  • Evidence privacy target: no full command lines, raw process output, env vars, tokens, secrets or live confirm tokens in public receipts.

Install

Use with npx:

npx -y --package clean-process-ended clean-process-ended-mcp

Or install the package and run the binaries:

npm install -g clean-process-ended
cpe-scan report --json
clean-process-ended-mcp

MCP Host Snippet

For Codex-style TOML configuration:

[mcp_servers.clean_process_ended]
command = "npx"
args = ["-y", "--package", "clean-process-ended", "clean-process-ended-mcp"]
env = { CPE_HOST_PROFILE = "codex" }

Host profile values currently exposed by the package are:

  • codex

  • claude_code

  • gemini_cli

  • qwen_code

  • generic_mcp_host

Additional samples are in samples/ and copy-adaptable examples are in examples/.

Support Matrix

This matrix describes public profile intent and validation status for v0.7.3. It does not claim cleanup safety beyond the documented policy gates. See docs/support-matrix.md and docs/validation/ for evidence levels and release status.

Host

Profile

Public status

Codex

codex

Current local validation completed after restart; dry-run only.

Claude Code

claude_code

Current local native validation completed; dry-run only.

Gemini CLI

gemini_cli

Current local native validation completed; dry-run only.

Qwen Code CLI

qwen_code

Current local native MCP tool-invocation validation completed with Ollama-backed Qwen models; non-destructive diagnostic workflow only.

Generic MCP Host

generic_mcp_host

Diagnostic profile only; host-specific ownership claims require separate evidence.

CLI

Common non-destructive commands:

cpe-scan report --json
cpe-scan candidates --json
cpe-scan cleanup --dry-run --scope owned_current_session --json
cpe-scan janitor-discovery --client codex --json
cpe-scan agent-protocol --client codex --json
cpe-scan session-close-check --project-key my-project --json
cpe-scan audit-bundle --output-dir ./evidence/cpe --json
cpe-scan smoke-stdio --json

Managed lifecycle evidence:

cpe-run --host codex --role mcp-server -- node ./server.js
cpe-scan managed-reconcile --json
cpe-scan managed-lifecycle --json
cpe-scan managed-cleanup-dryrun --json

managed-cleanup-dryrun is report-only in v0.7.3.

Agent Close Protocol

Installing the MCP only makes its tools available to the host. It does not guarantee that an agent will call them.

Recommended agent behavior:

  • use janitor_discovery to learn the non-destructive protocol;

  • run session_close_check at the end of non-trivial tasks involving subprocesses, MCP servers, browsers/devtools, subagents, local servers or background jobs;

  • never call dry_run=false or --no-dry-run autonomously;

  • summarize any dry-run plan before asking a human about real cleanup.

Optional codex-agent-mem Integration

codex-agent-mem v1.0.1 and clean-process-ended v0.7.3 work independently, but they are designed to complement each other. codex-agent-mem preserves task continuity and closure state; clean-process-ended records process-hygiene evidence and dry-run janitor receipts. Used together, the recommended close flow is:

  1. recover and close continuity with codex-agent-mem;

  2. run clean-process-ended as a dry-run close check;

  3. store only a compact process_janitor_receipt summary or hash in memory.

The combined workflow improves user experience by reducing repeated context and adding a safer end-of-task hygiene check. This is an optional integration: neither MCP is a hard dependency of the other. Public receipt schemas and examples live in schemas/ and docs/fixtures/codex-agent-mem/.

Project Metadata

  • Author: Marcelo Caporale.

  • X: https://x.com/MarceloCaporale.

  • Studio: https://visualaimedia.com.

  • Lab: https://visualsystemslab.com.

  • License: Apache-2.0.

  • Repository: https://github.com/MarceloCaporale/clean-process-ended.

  • MCP Registry name: io.github.marcelocaporale/clean-process-ended.

  • Related optional MCP: codex-agent-mem.

Cleanup Safety

By default, cleanup is dry-run and scoped to owned_current_session. In v0.7.3, the public CLI/MCP surface provides runtime-validated process hygiene, evidence and dry-run planning: real termination remains non-operable from public CLI/MCP because evidence inputs are intentionally not exposed. The internal real-cleanup gate remains stricter than the public surface and requires all of the following before any termination path:

  • an eligible managed_strong or managed_strong_expired candidate in the current safety policy;

  • trusted install config with cleanup.realExecutionEnabled=true;

  • --no-dry-run;

  • a fresh confirm token from a previous dry-run plan;

  • valid SHA-256 evidence from a prior audit/receipt bundle;

  • no policy blocker such as unknown ownership, browser/devtools guardrails, or host-root protection.

If future versions expose real cleanup publicly, they must expose evidence SHA-256 inputs explicitly and keep these gates intact.

related_unowned and unknown_owner are report-only by default.

Experimental auto-cleanup is opt-in only. It is disabled by default, must be explicitly acknowledged in trusted installation config, and should be treated as experimental even when enabled.

Documentation

  • AGENTS.md: repository guide for coding agents and maintainers.

  • docs/quickstart.md: fastest safe setup and close-check flow.

  • docs/SAFETY_MODEL.md: cleanup and auto-cleanup safety model.

  • docs/ARCHITECTURE.md: scanner, ownership, managed lifecycle, and audit bundle architecture.

  • docs/design-decisions.md: product and architecture decisions.

  • docs/HOSTS.md: host profiles and validation status.

  • docs/support-matrix.md: formal support matrix and evidence levels.

  • docs/INSTALL.md: install and host binding notes.

  • docs/WHEN_TO_USE.md: when to run close checks.

  • docs/AGENT_PROTOCOL.md: instructions for agents and project prompts.

  • docs/INTEGRATION_CODEX_AGENT_MEM.md: optional continuity integration with codex-agent-mem.

  • docs/MANAGED_LIFECYCLE.md: managed process lifecycle commands.

  • docs/AUDIT_BUNDLE.md: non-destructive evidence bundle contents.

  • docs/validation/: validation levels and host evidence notes.

  • docs/verification/: verification notes and release-gate summaries.

  • schemas/: public JSON schemas for receipts and audit bundle summaries.

  • examples/: copy-adaptable host configuration examples.

  • SECURITY.md: security reporting and support policy.

  • SUPPORT.md: public support matrix.

  • CHANGELOG.md: release notes.

  • RELEASE_NOTES_v0.7.3.md: release notes for v0.7.3.

Release Checks

For maintainers preparing tags, GitHub Releases, MCP Registry submissions or npm publication, run:

npm run public-beta-candidate

This gate includes ESLint, syntax checks, tests, MCP stdio smoke validation, strict package validation, moderate-or-higher dependency audit, public-tree validation, npm pack --dry-run and installed-tarball smoke validation.

Then complete docs/release-checklist.md, refresh host evidence listed in docs/verification/v0.7.3/README.md, wait for GitHub Actions, run external static audit from the public GitHub URL, and proceed only after explicit human approval.

Author

Created and maintained by Marcelo Caporale.

License

Apache-2.0.

Available Tools

24 tools
audit_bundleB

Generate a single non-destructive audit payload with config, session, report, candidates, dry-run metrics and safety metadata.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It explicitly states the tool is non-destructive, which is a key behavioral trait. However, it does not disclose other aspects such as performance, rate limits, or what happens if the limit parameter is omitted.

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, efficient sentence with no wasted words. It front-loads the key verb and resource, then enumerates the payload components succinctly.

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

Completeness3/5

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

Given no output schema and no annotations, the description provides a reasonable overview but lacks details on return format, pagination, or how the limit parameter interacts with the payload. It is adequate for a simple tool but not fully comprehensive.

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?

The description does not explain the 'limit' parameter at all, despite 0% schema coverage. While it lists components of the payload, it fails to clarify how the parameter affects the output, leaving the agent to infer its purpose.

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 tool generates a non-destructive audit payload encompassing config, session, report, candidates, dry-run metrics, and safety metadata. It uses a specific verb ('Generate') and resource ('audit payload'), and distinguishes from sibling tools that focus on individual aspects like cleanup or discovery.

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?

The description provides no guidance on when to use this tool versus alternatives, nor any context on prerequisites or exclusions. It simply states what the tool does without answering 'when' or 'why not'.

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

auto_cleanup_dryrunC

Plan experimental auto-cleanup without terminating anything, even when auto-cleanup is disabled.

ParametersJSON Schema
NameRequiredDescriptionDefault
min_age_minutesNo
include_command_lineNo

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral info. It explicitly states 'without terminating anything,' indicating a safe, read-only operation. However, it omits details on output, permissions, or side effects beyond safety.

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, well-front-loaded sentence with no superfluous words. It efficiently conveys the core behavior.

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?

Despite low complexity (2 params, no output schema), the description lacks parameter explanations and output description. It is insufficient for an agent to fully understand tool behavior, especially given the sibling 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 description must explain parameters. It does not mention 'min_age_minutes' or 'include_command_line' at all, leaving their purpose entirely undocumented.

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 clearly states the tool plans an auto-cleanup dry run without termination, including the nuance 'even when auto-cleanup is disabled.' However, it does not distinguish from the sibling tool 'managed_cleanup_dryrun', which likely has a similar purpose.

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?

No guidance on when to use this tool versus alternatives like 'managed_cleanup_dryrun' or real cleanup tools. The only hint is 'even when auto-cleanup is disabled,' implying it works regardless of that setting, but no explicit usage context or exclusions.

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

auto_cleanup_statusA

Show experimental auto-cleanup policy status and gates. Auto-cleanup is disabled by default.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.7/5.0
Behavior3/5

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

Without annotations, the description carries the full burden. It discloses one behavioral fact: 'Auto-cleanup is disabled by default.' However, it does not mention if the tool is read-only, what 'gates' refer to, or any side effects, leaving gaps in transparency.

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 extremely concise: two sentences with no wasted words. Every sentence adds value, stating the purpose and a key behavioral fact.

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

Completeness3/5

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

Given the tool has no parameters, no output schema, and no annotations, the description is minimally adequate. It explains what the tool shows and a default state, but lacks detail on return format or what 'gates' entails, leaving room for improvement.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and schema coverage is 100% (since no parameters exist). Per guidelines, baseline for 0 parameters is 4. The description adds no parameter details, but none are needed.

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 tool's purpose: 'Show experimental auto-cleanup policy status and gates.' It uses a specific verb ('Show') and resource ('policy status and gates'), distinguishing it from sibling tools like auto_cleanup_dryrun or managed_cleanup_dryrun which perform actions rather than display status.

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?

No guidance is provided on when to use this tool versus alternatives like auto_cleanup_dryrun or managed_cleanup_dryrun. The description only states what the tool does without offering context on optimal use cases or when to avoid it.

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

config_explainA

Explain effective config, config paths, data directory, and safety defaults without exposing command line secrets.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries full burden. It discloses the key behavior of not exposing command line secrets, which is positive. However, it does not state whether the tool is read-only, has side effects, or requires specific permissions.

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 sentence of 17 words, concisely conveying the tool's purpose and a key behavioral constraint. No redundant or extraneous information.

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?

Given no output schema and zero parameters, the description covers the essential aspects: what is explained (config, paths, directory, defaults) and a notable behavioral trait (no secrets). It does not describe output format, but completeness is high for a simple explain tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and schema coverage is 100%. Baseline score of 4 applies because the description adds context about what the tool explains, which is effectively the input.

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 clearly states the tool explains effective config, config paths, data directory, and safety defaults. The verb 'Explain' and resource 'config' are specific, but it does not explicitly differentiate from sibling explain tools like policy_explain or process_explain.

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?

No usage guidelines are provided. The description does not mention when to use this tool vs alternatives, nor any prerequisites or exclusions. The agent must infer from the sibling names.

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

janitor_discoveryA

Return non-destructive machine-readable guidance for when agents should use clean-process-ended. It does not scan processes and never terminates anything.

ParametersJSON Schema
NameRequiredDescriptionDefault
clientNoOptional host/client name such as codex, claude_code or gemini_cli.

TDQS

A4.5/5.0
Behavior5/5

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

Emphasizes non-destructive nature, not scanning or terminating, fully disclosing safety despite no annotations.

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?

Two sentences, front-loaded with action, no waste.

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

Completeness5/5

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

Complete for a simple tool with one optional param; no output schema needed.

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 coverage is 100%, so baseline 3. Description does not add meaning to the parameter.

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?

Description clearly states it returns guidance about when to use clean-process-ended, which is a specific verb+resource. It distinguishes from sibling tools that perform actual process actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies using this tool when needing guidance on clean-process-ended, but lacks explicit alternatives or when-not cases.

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

ledger_readC

Read the local process ledger summary, recent snapshot metadata, and recent cleanup events.

ParametersJSON Schema
NameRequiredDescriptionDefault
include_recent_eventsNo

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description should disclose behavioral traits. It implies a non-destructive read but lacks details on permissions, side effects, rate limits, or data freshness.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence and front-loaded, but it omits crucial details about parameters and output, making it less effective despite being concise.

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?

Given no output schema and one parameter, the description should explain what the returned data includes and how the optional parameter affects it. It does not.

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?

The sole parameter 'include_recent_events' (boolean) is not mentioned in the description. With 0% schema coverage, the description provides no additional meaning beyond the schema.

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 verb 'Read' and identifies three specific resources (ledger summary, snapshot metadata, cleanup events), distinguishing it from sibling tools.

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?

No guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites.

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

managed_cleanup_dryrunA

Plan cleanup for managed processes only. This is dry-run only and never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior4/5

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

No annotations provided, but the description clearly states the tool is dry-run only and never terminates processes, which is a key behavioral trait. It lacks mention of any logging or state changes, but for a zero-parameter tool, this is sufficient.

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?

Two sentences, front-loading purpose and constraint. Every word earns its place, with no redundancy.

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?

Given no parameters and no output schema, the description covers purpose and scope well. It could optionally describe the return value (e.g., a plan list), but is functionally complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so the description need not add parameter info. Schema coverage is 100%, and baseline 4 applies for zero-parameter tools.

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 tool's purpose: planning cleanup for managed processes. It emphasizes 'dry-run only' and 'never terminates processes,' distinguishing it from execution tools like process_cleanup.

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 use for managed processes only, but does not explicitly state when to use this over siblings like auto_cleanup_dryrun. No alternatives or exclusions are mentioned.

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

managed_lifecycle_reportA

Report lifecycle state for cpe-run managed processes: running, missing, exited, expired or PID-reuse mismatch.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description should disclose behavioral traits like idempotency, authorization needs, or side effects. It only states it produces a report, but does not indicate if it is read-only, requires privileges, or has any impact.

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?

Single concise sentence that front-loads the action and lists key states. No redundant or irrelevant information.

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

Completeness3/5

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

Given no output schema and zero parameters, the description is minimal. It does not specify the return format, whether the report is a summary or detailed list, or how to interpret results, leaving some gaps for a complete understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has zero parameters, so the description does not need to add parameter details. Per guidelines, baseline is 4. Description adequately covers the tool's function without needing parameter explanations.

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?

Description specifies the tool reports lifecycle state for cpe-run managed processes and lists five specific possible states (running, missing, exited, expired, PID-reuse mismatch), making the purpose clear and distinct from sibling tools.

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?

No guidance on when to use this tool versus sibling tools like managed_stale_report or process_explain. The description does not mention appropriate contexts, alternatives, or exclusions.

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

managed_process_explainB

Explain one cpe-run managed process record by managedProcessId. It never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
managed_process_idYes

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, description carries full burden. Only discloses it never terminates, but omits behavior like return format, error handling, or required permissions.

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, no filler. Could be slightly more structured but efficient overall.

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

Completeness3/5

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

For a simple tool with one parameter and no output schema, description is adequate but missing crucial context like what the 'explanation' contains or example usage.

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 coverage is 0%, so description must compensate. It mentions 'managedProcessId' but adds no details on format, constraints, or examples beyond schema.

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?

Description states 'Explain one cpe-run managed process record by managedProcessId', which is specific verb+resource. It distinguishes from sibling 'process_explain' by targeting managed processes.

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?

No guidance on when to use this tool vs alternatives like 'managed_process_list' or 'process_explain'. The note 'never terminates' is behavioral but not usage context.

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

managed_process_listC

List processes launched explicitly through cpe-run lifecycle management. This is report-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
include_exitedNo

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, description must disclose behavioral traits. It states 'report-only' implying no destructive actions. However, it does not mention pagination, performance implications, or access requirements. Minimal but acceptable.

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?

Two sentences, no redundant information. Front-loaded with the core action and scope. Every word is useful.

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

Completeness3/5

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

For a simple tool with one optional parameter and no output schema, the description is mostly adequate except for missing parameter documentation. It covers the basic purpose and read-only nature.

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?

The single parameter 'include_exited' has no description in the schema (0% coverage). The description does not explain what this boolean does, leaving the agent unaware of its effect on the output.

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?

Clearly states it lists processes launched through cpe-run lifecycle management. The phrase 'report-only' indicates read-only nature. However, it does not differentiate from sibling tools like managed_lifecycle_report or managed_process_explain.

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?

No guidance on when to use this tool versus alternatives. Sibling tools exist for similar purposes (e.g., managed_lifecycle_report, managed_process_explain) but no comparison or exclusions provided.

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

managed_reconcileA

Reconcile explicit cpe-run managed process records against the current process table. It never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It only states 'never terminates processes' but fails to clarify if the reconcile operation is read-only or mutates records, what side effects occur, or if it requires special permissions.

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?

Two short, efficient sentences with no redundancy. The key information is front-loaded.

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?

Despite no output schema and no annotations, the description is too minimal. It does not explain what 'reconcile' entails, whether it modifies data, or what the output looks like, leaving an agent underinformed for a potentially complex action.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so according to rules the baseline is 4. The description adds no parameter information, but no parameters exist to document.

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 verb 'reconcile' and the specific resource 'explicit cpe-run managed process records' against the current process table. It distinguishes itself from siblings by explicitly noting it never terminates processes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context that this tool does not terminate processes, which is a key usage guideline. However, it does not explicitly state when to use this tool versus alternatives like 'process_cleanup' or 'managed_cleanup_dryrun'.

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

managed_stale_reportB

Report stale managed process records. This is report-only evidence.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It states 'report-only evidence' which indicates non-destructive action, but does not explain what 'stale' means, the format or destination of the report, or any side effects beyond being read-only.

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?

Extremely concise with two sentences. The first sentence clearly states purpose, and the second adds behavioral note. No wasted words.

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 parameters and no output schema, the description is minimal. It does not explain what constitutes 'stale', how results are returned, or how it differs from sibling reporting tools. More context would be helpful for selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so baseline score of 4 applies. Description adds no parameter info because none are needed.

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?

Clearly states the tool reports stale managed process records. The verb 'report' and resource are specific. However, it does not explicitly differentiate from similar sibling report tools like stale_session_report or managed_lifecycle_report.

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?

No guidance on when to use this tool versus alternatives or when not to use it. The description only says it is report-only, implying safe usage but lacking usage context.

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

policy_explainB

Explain cleanup and auto-cleanup policy gates for one PID. It never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
pidYes
include_command_lineNo

TDQS

B3.3/5.0
Behavior3/5

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

Without annotations, the description must disclose behavioral traits. It adds a key safety note ('never terminates processes'), but does not mention other aspects like idempotency, side effects, or performance. This is adequate but minimal.

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?

Two sentences, front-loaded with the main purpose, no wasted words. Efficient and clear.

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?

Given no output schema and minimal param details, the description is insufficient. It does not explain what the policy gates explanation includes (e.g., active rules, conditions), leaving the agent with a vague understanding of the output.

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 description needed to explain parameter meaning. It only mentions pid implicitly via 'for one PID' but does not describe include_command_line at all. No added meaning beyond schema types.

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?

Description clearly states the tool explains cleanup and auto-cleanup policy gates for a single PID, distinguishing it from sibling tools like process_explain (general process info) and auto_cleanup_dryrun (simulation). Verb + resource is specific and unambiguous.

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 lacks explicit guidance on when to use this tool versus alternatives. It implies usage for policy understanding before cleanup actions, but no direct context or exclusions are provided.

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

process_cleanupA

Dry-run selected owned_current_session candidates. In v0.7.x public CLI/MCP, real termination remains non-operable because evidence inputs are not exposed; dry_run=false stays blocked by safety gates. Agents must not call dry_run=false autonomously.

ParametersJSON Schema
NameRequiredDescriptionDefault
dry_runNoDefaults to true. When true, kills nothing. A live confirm token is not returned unless real cleanup is enabled by trusted config or request_confirm_token=true is explicit.
confirm_tokenNoToken returned by a previous dry-run cleanup plan.
request_confirm_tokenNoExplicitly request a live confirm token during dry-run. Agents should leave this false unless a human asks for manual cleanup.
scopeNo
pidsNo
min_age_minutesNo
signalNo
forceNoAfter SIGTERM, optionally escalate to SIGKILL if still alive.
include_process_treeNoReserved; ignored unless tree-kill is enabled in config.
include_command_lineNo

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that dry_run=true is the intended mode, that real cleanup is disabled (dry_run=false blocked), and includes safety gate context. It does not discuss return values or error states, but the core behavioral trait (dry-run) is transparent.

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?

Two sentences, no redundancy. The first sentence front-loads the primary purpose, and the second delivers critical usage constraints. Every word earns its place.

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

Completeness3/5

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

For a 10-parameter tool with no output schema and no annotations, the description covers the essential behavioral constraint (dry-run only) but omits return format and error handling. Adequate but not complete.

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 coverage is 50% (5/10 parameters described). The description does not add parameter-level guidance beyond what's in the schema, missing opportunities to explain usage nuances for parameters like confirm_token or scope. Baseline of 3 is appropriate.

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 tool performs a dry-run on owned_current_session candidates, using a specific verb ('Dry-run') and resource. It distinguishes from siblings like auto_cleanup_dryrun by specifying the scope 'owned_current_session'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance that agents must not call dry_run=false autonomously and explains that real termination is non-operable due to blocked safety gates. However, it lacks comparison to sibling cleanup tools for alternative selection.

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

process_cleanup_candidatesA

Return detailed candidates grouped by ownership. This is audit-only and never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
scopeNo
pidsNoOptional PID filter; useful when reviewing explicit candidates.
min_age_minutesNo
include_command_lineNo
limitNo

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It clearly states the tool is read-only and non-destructive ('never terminates processes'). This provides strong transparency about its behavior, though it could mention return format or pagination.

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?

Two sentences, no wasted words, front-loaded with key information.

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?

The description is too brief given 5 parameters, no output schema, and no annotations. It does not explain 'grouped by ownership', what 'candidates' are, or any parameter defaults or usage.

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 only 20%, and the description does not explain any parameters. It only describes the overall purpose. For a tool with 5 parameters, this is insufficient.

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 verb 'Return', the resource 'detailed candidates grouped by ownership', and the key constraint 'audit-only and never terminates processes'. This distinguishes it from sibling tools like process_cleanup which likely terminate processes.

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 use for review without side effects by stating 'audit-only and never terminates processes', but does not explicitly state when to use it over alternatives or provide exclusions. Sibling tools like process_cleanup exist, but no guidance is given.

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

process_explainB

Explain a single PID with ownership evidence, host/tool profiles, reasons, blockers, and cleanup eligibility. It never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
pidYes
include_command_lineNo

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries full responsibility. It ensures the tool is non-destructive by stating it never terminates processes, which is a key behavioral trait. However, it does not disclose other aspects like required permissions, rate limits, or side effects, leaving some transparency gaps.

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 extremely concise at two sentences, front-loading the primary purpose and adding a critical behavioral note in the second sentence. Every word serves a purpose with no redundancy.

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

Completeness3/5

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

For a simple read-only explain tool with no output schema, the description covers the purpose, included evidence, and safety guarantee. However, the omission of parameter details and any context about permissions or output format leaves it somewhat incomplete, especially given the absence of annotations.

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%, and the description fails to mention either parameter (pid or include_command_line). It does not explain that pid is required or what include_command_line controls, forcing the agent to rely solely on the schema, which lacks descriptions.

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 tool explains a single PID with ownership evidence, host/tool profiles, reasons, blockers, and cleanup eligibility. It also explicitly distinguishes from siblings by stating 'It never terminates processes,' differentiating it from cleanup tools like process_cleanup.

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?

The description implies usage for getting an explanation of a process, but it does not provide explicit guidance on when to use this tool versus alternatives like managed_process_explain or process_cleanup_candidates. There are no when-not-to-use instructions or context for preference among siblings.

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

process_scope_reportA

Scan local processes, reconcile them with this session ledger, and report agent/MCP process ownership without terminating anything.

ParametersJSON Schema
NameRequiredDescriptionDefault
min_age_minutesNoOverride the age threshold used for candidate classification.
include_command_lineNoInclude redacted command lines in the report.
limitNoMaximum number of top candidates to return.

TDQS

A3.9/5.0
Behavior3/5

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

The description discloses that the tool is read-only (no termination), but with no annotations, it omits potential performance impacts, permission requirements, or details about the reconciliation process. This is adequate but not thorough.

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?

A single, dense sentence that front-loads the main actions and ends with a key qualifier. Every word is necessary and efficient.

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

Completeness3/5

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

The description lacks output schema details, potential resource warnings, and safety info (since annotations are absent). It covers the core purpose but leaves gaps for a moderately complex 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 coverage is 100%, with each parameter already having clear descriptions. The tool's description adds no extra meaning beyond the schema, fitting the baseline of 3.

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 tool's actions: scanning local processes, reconciling with a session ledger, and reporting ownership, with an explicit differentiator 'without terminating anything' that distinguishes it from sibling cleanup tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'without terminating anything' implicitly guides the agent to use this for read-only reporting rather than cleanup, but fails to explicitly state when to use this tool vs alternatives like process_cleanup or process_explain.

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

profile_listC

List configured host and tool profiles used as weak signals for process classification.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description must disclose all behavioral traits. It only states it 'lists', implying a read operation, but lacks any mention of permissions, side effects, rate limits, or what happens if profiles are not configured.

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?

Single, clear sentence with no redundant words. It is appropriately sized but could benefit from a slight structure (e.g., separating purpose from context).

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

Completeness3/5

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

The description explains the purpose (listing profiles) and their use (weak signals for process classification), which provides context. However, it does not describe the output format or any additional details like whether profiles are local or remote, making it only moderately complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and 100% schema coverage, so the description adds no parameter details. Baseline of 4 is appropriate as there is nothing missing parameter-wise.

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?

Description clearly specifies the verb 'list' and the resource 'configured host and tool profiles used as weak signals for process classification', distinguishing it from sibling list tools like managed_process_list which likely list process classifications themselves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives, nor any conditions or exclusions. The description is purely functional without contextual usage advice.

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

resource_impact_reportC

Summarize CPU/RSS impact, top blockers, and report partitions for related processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
min_age_minutesNo
limitNo

TDQS

C2.6/5.0
Behavior2/5

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

No annotations provided; description only says 'summarize', implying read-only but doesn't confirm side effects, permissions, or response format. Insufficient disclosure for a tool with no annotations.

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?

Single sentence is efficient but lacks structure. Could be improved with separate sections for parameters and behavior.

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?

Given zero annotations, no output schema, and 2 undocumented params, description should provide more context on 'report partitions', 'top blockers', and 'impact metrics'. As is, incomplete for agent decision-making.

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 has 2 parameters with 0% description coverage; description does not explain min_age_minutes or limit, leaving their meaning entirely to the schema names.

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?

Description clearly states 'Summarize CPU/RSS impact, top blockers, and report partitions for related processes'. It specifies a verb and a distinct resource set but doesn't differentiate from siblings like process_scope_report or process_explain.

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?

No guidance on when to use this tool versus alternatives. Lacks context or conditions for invocation.

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

session_close_checkA

Run a compact non-destructive close-task check with one process snapshot and a dry-run cleanup plan. It never returns a live confirm token and never terminates processes.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of representative candidates to return.
project_keyNoOptional project key to include in the process_janitor_receipt summary.

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description bears the full burden. It explicitly states the tool is non-destructive, dry-run, and never returns a confirm token or terminates processes. This adds behavioral context beyond the schema, though it omits details like return format or error handling.

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?

Two sentences, front-loaded with the main purpose, and every sentence adds value. No superfluous content.

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?

Given zero required parameters and a simple scope, the description covers the essential behavior (non-destructive, dry-run, no confirm token). However, it lacks return value details and examples, which would be helpful for completeness.

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 coverage is 100%, so baseline is 3. The description adds no additional meaning for the 'limit' or 'project_key' parameters beyond what the schema already provides.

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 ('run a compact non-destructive close-task check') and resource context. It differentiates from sibling tools by emphasizing it's a non-destructive dry-run check that never returns a live confirm token or terminates processes.

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 for safe checks but does not explicitly state when to use this tool vs alternatives like auto_cleanup_dryrun or managed_cleanup_dryrun. No when-not or alternative guidance is provided.

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

session_statusA

Show this MCP instance identity, session epoch, baseline, and watcher status.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It states what is shown (read-like behavior) but does not explicitly declare it as read-only, safe, or free of side effects. The verb 'Show' implies no mutation, but explicit disclosure would improve transparency.

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?

One sentence lists all relevant outputs without wasted words. The most important information is front-loaded.

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 zero-parameter status tool, the description lists four specific pieces of output, which is adequate. However, it does not define terms like 'baseline' or 'epoch', which might be unfamiliar to new users.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so the schema provides full coverage. The description does not need to add parameter details, and it implicitly confirms no inputs are required.

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 verb 'Show' is specific, and the resource includes four distinct aspects: MCP instance identity, session epoch, baseline, and watcher status. This clearly distinguishes it from siblings like 'watcher_status' which only covers watcher status.

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?

No guidance on when to use this tool versus alternatives such as 'watcher_status' or 'session_close_check'. It does not mention prerequisites, exclusions, or context.

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

stale_session_reportB

Report previous sessions from this installation that appear stale. This is report-only.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior3/5

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

The description explicitly states it is 'report-only', implying no destructive side effects. However, with no annotations, it does not disclose other behaviors like permissions needed, definition of 'stale', or performance implications.

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?

The description is a single sentence, front-loaded and concise. Minor improvement possible by adding a brief note on return format, but it wastes no words.

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?

Given no output schema, the description should clarify what the report contains or how it is returned. It does not define 'stale' or mention output format, leaving the agent uncertain about results.

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 are no parameters, and schema coverage is 100%, so the baseline is 3. The description adds no parameter information, which is fine since there are none.

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 clearly states the tool reports stale sessions and is report-only. It specifies the verb 'report' and resource 'previous sessions', but does not differentiate from sibling tools like 'managed_stale_report', leaving some ambiguity.

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?

No guidance is provided on when to use this tool vs alternatives (e.g., 'managed_stale_report', 'session_status'). The description does not indicate prerequisites or context for use.

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

watcher_reconcile_nowB

Force a watcher reconciliation snapshot now. It updates the ledger and does not terminate anything.

ParametersJSON Schema
NameRequiredDescriptionDefault
min_age_minutesNo
limitNo

TDQS

B3.1/5.0
Behavior4/5

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

Despite no annotations, the description explicitly states 'updates the ledger' (a mutation) and 'does not terminate anything' (non-destructive). This provides behavioral clarity beyond the tool name. However, it omits details like rate limits, error behavior, or required permissions.

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?

The description is a single sentence, very concise and front-loaded. However, it could include more detail without sacrificing brevity.

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

Completeness3/5

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

Given no output schema, optional parameters, and no annotations, the description sufficiently covers core purpose and safety (non-destructive). However, it lacks parameter explanations and usage context, making it incomplete for optimal agent decision-making.

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%; the description does not mention either parameter ('min_age_minutes' or 'limit'). Their purpose and effect remain entirely unexplained, leaving the agent unable to select appropriate values.

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 clearly states the action ('force'), the resource ('watcher reconciliation snapshot'), and timing ('now'). It is specific and distinguishes the tool from siblings like 'watcher_status', but does not elaborate on what 'reconciliation snapshot' entails.

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?

No guidance on when to use this tool versus alternative tools (e.g., 'managed_reconcile', 'auto_cleanup_dryrun'). It does not specify prerequisites or exclusions, leaving the agent to infer usage context.

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

watcher_statusA

Show the status of the embedded watcher that takes periodic non-destructive snapshots while this MCP server is running.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

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

Describes the watcher as taking non-destructive snapshots and embedded, but lacks details on output format or what 'status' includes. No annotations provided to supplement.

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?

Single sentence, front-loaded, no unnecessary words. Efficient and clear.

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 tool with no parameters and no output schema, the description covers the essential context (what it does, its role). Minor gap: doesn't specify what status fields are returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters, so description adds value by explaining tool purpose. Baseline for 0 params is 4, and description is adequate.

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 verb 'show' and the resource 'status of the embedded watcher', and provides context about periodic non-destructive snapshots. It distinguishes from sibling tools like watcher_reconcile_now.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., session_status, auto_cleanup_status). Implied for checking watcher status but lacks comparison.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 24 tool updatesv0.7.3
    • First observedaudit_bundle
    • First observedauto_cleanup_dryrun
    • First observedauto_cleanup_status
    • First observedconfig_explain
    • First observedjanitor_discovery
    • First observedledger_read
    • First observedmanaged_cleanup_dryrun
    • First observedmanaged_lifecycle_report
    • First observedmanaged_process_explain
    • First observedmanaged_process_list
    • First observedmanaged_reconcile
    • First observedmanaged_stale_report
    • First observedpolicy_explain
    • First observedprocess_cleanup
    • First observedprocess_cleanup_candidates
    • First observedprocess_explain
    • First observedprocess_scope_report
    • First observedprofile_list
    • First observedresource_impact_report
    • First observedsession_close_check
    • First observedsession_status
    • First observedstale_session_report
    • First observedwatcher_reconcile_now
    • First observedwatcher_status

TDQS

B3.1/5.0
Disambiguation4/5

Most tools have distinct purposes (e.g., process_explain vs process_cleanup_candidates), but some pairs like auto_cleanup_dryrun and managed_cleanup_dryrun could confuse an agent due to similar dry-run semantics.

Naming Consistency3/5

Tool names use snake_case and domain prefixes consistently, but the pattern varies between verb-noun (config_explain) and noun-noun (janitor_discovery), lacking a uniform structure.

Tool Count3/5

24 tools is on the high side for a process cleanup domain; while each tool has a specific role, the set could be consolidated to reduce cognitive load.

Completeness2/5

The server lacks a functional cleanup tool (all are dry-run or blocked), missing the core action. Many report-only tools exist but no real termination, leaving a significant gap.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MarceloCaporale/clean-process-ended'

If you have feedback or need assistance with the MCP directory API, please join our Discord server