Skip to main content
Glama
code-bridge

code-bridge

by ITSWProj

Stato delle istanze di Claude Code

claude_status

Lists active Claude Code instances and diagnoses whether a job is stuck or just slow, including those started by this server or elsewhere. Call it before starting work or when a task appears blocked.

Instructions

Elenca tutte le istanze di Claude Code attive: quelle avviate da questo server (con job_id, progetto, durata e diagnosi di attività) e quelle presenti nel sistema ma avviate altrove. Da chiamare prima di claude_start, e ogni volta che un lavoro sembra bloccato: distingue un processo piantato da uno semplicemente lento.

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

Input Schema

NameRequiredDescriptionDefault
dettaglioNoSe true misura CPU e memoria di ogni lavoro (richiede circa un secondo per lavoro)
riprova_authNoSe true riabilita gli avvii dopo un blocco per autenticazione o quota. Usare solo dopo che l'utente ha confermato di aver risolto (login rifatto, token configurato, quota ripristinata).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It explains what the listing covers and that it diagnoses activity, which is useful. However, it does not clarify that the base operation is read-only or that the optional riprova_auth path mutates launch state; that warning lives only in the schema.

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 purpose is front-loaded in the first sentence, followed immediately by concrete usage guidance. There is no redundant or filler wording.

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 two-parameter status tool with no output schema, the description is nearly complete: it says what is listed, what diagnostic fields appear, and when to call it. A note on the auth-reset side effect would make it fully self-contained.

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 the baseline is 3. The description itself adds no meaning about the dettaglio or riprova_auth parameters beyond what the schema already documents.

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 uses a specific verb, 'Elenca', and a precise resource, 'istanze di Claude Code attive'. It clearly scopes the result to both instances started by this server and those started elsewhere, which distinguishes it from lifecycle siblings such as claude_start and claude_kill.

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?

It gives explicit triggers: call before claude_start and whenever a job seems stuck. The link to diagnosing a hung versus slow process is useful context. It stops short of stating when not to use it or naming an alternative such as claude_wait, so it is strong but not complete.

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