Skip to main content
Glama

artex_restart

Restart the ARTEX stack to reload .env and warm up agentcore; this terminates running tasks, so delete stale tasks and create fresh ones afterward.

Instructions

Restart the ARTEX stack: docker compose down && up -d (this RELOADS .env; docker compose restart alone does NOT), then warm up agentcore. WARNING: terminates running tasks — afterward delete stale tasks (resume-mode bug) and create fresh ones. Requires ARTEX_PROJECT_DIR.

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": "artex_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it declares the destructive side effect (terminates running tasks), the environment prerequisite (ARTEX_PROJECT_DIR), and the documented follow-up required by a resume-mode bug (delete stale tasks, create fresh ones). This is exactly the behavioral context an agent needs before invoking an irreversible operation.

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?

Three compact clauses: what it does, the caveat about the wrong command, and a capitalized WARNING with remediation plus prerequisite. Front-loaded and every sentence earns its place.

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?

Covers mechanism, side effects, prerequisite, and required post-steps; an output schema exists so return values need not be explained. Nothing an agent needs before calling a destructive restart is missing.

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 takes zero parameters, so there is no parameter meaning to add; baseline applies. The description still notes the ARTEX_PROJECT_DIR environment requirement, which is the only input-like dependency.

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?

Names the exact mechanism ('docker compose down && up -d') and the secondary action (warm up agentcore), so the agent knows precisely what the tool does. It also implicitly separates itself from a plain restart and from the sibling artex_warmup by describing both effects.

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?

Explicitly states the condition that distinguishes this from a naive restart: it RELOADS .env whereas 'docker compose restart' does NOT. It does not name when to prefer artex_warmup or artex_health instead, so the alternative routing is incomplete but the core trigger condition is clear.

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