Skip to main content
Glama
Lex6won
by Lex6won

server_status

Inspect runtime diagnostics to confirm the MCP server is healthy, see loaded rules, install identity, and available tools, and detect stale processes before trusting audit results.

Instructions

Return runtime diagnostics: install identity, rules dir, rule counts, env.

Use this from any MCP client (Claude, Cursor, Codex, ...) to verify the server is healthy and to see which rules are loaded. No network calls.

설치 신원을 함께 돌려준다 — 버전 문자열만 믿지 마세요:

  • runtime_freshness.process_stale — 먼저 이것을 보세요. 돌고 있는 프로세스가 디스크의 현재 코드·룰을 쓰고 있는지. true 면 판정 결과가 낡은 룰에서 나온 것이므로, 결과를 해석하기 전에 remedy 대로 서버를 재시작해야 한다(재설치가 아니다 — 룰과 코드는 프로세스 시작 시점에 한 번만 읽힌다).

  • commit_id — 이 프로세스가 임포트한 시점의 커밋(pip direct_url.json 또는 소스 체크아웃의 .git/HEAD). 디스크의 현재 커밋은 install_identity.disk_commit_id 이고, 둘이 다르면 낡은 것이다. __version__ 은 릴리스 사이에 고정돼 최근 변경분을 구분하지 못한다.

  • total_rules — 메모리에 올라간 룰 수(rule_count_source 로 출처 표기). 디스크를 다시 읽은 수가 아니므로, 이 값이 늘었다고 최신인 것은 아니다. 인텔 캐시 룰이 섞여 최신처럼 보인 사례가 있다.

  • mcp_tools / missing_tools — 이 설치본이 실제로 제공하는 도구 목록. 필요한 도구 이름이 mcp_tools 에 없으면 낡은 설치본이므로, 호출 실패 증상으로 역추적하지 말고 재설치하면 된다.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations to lean on, the description carries the load well: it discloses 'No network calls' and, more importantly, explains that results may originate from stale in-memory code/rules and that the remedy is a server restart (not reinstall). That is meaningful operational context beyond any structured field, though it never explicitly states the tool is read-only/idempotent.

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 purpose and usage are well front-loaded in the first two English sentences, but the memo then runs long and switches into Korean, mixing languages and spending most of its length on output-interpretation detail. Much of that duplicates what the existing output schema should carry, so not every sentence earns its place.

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 diagnostic with an output schema, the definition is more than sufficient — arguably over-complete, since it interprets return fields the output schema already defines. The added value (how to detect and fix a stale process) is genuinely useful, so nothing an agent needs 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 per the baseline this scores 4. The description's field-by-field guidance (process_stale, commit_id, total_rules, mcp_tools) concerns return values rather than inputs, so it cannot add input semantics.

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?

Opens with a specific verb+resource ('Return runtime diagnostics') and enumerates exactly what is returned ('install identity, rules dir, rule counts, env'). This distinguishes it from siblings like list_loaded_rules, get_rule, and scan_path, whose names describe different resources.

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 when to use it: 'to verify the server is healthy and to see which rules are loaded,' and from any MCP client. It does not, however, name or exclude alternatives despite overlapping siblings (list_loaded_rules also reports loaded rules), so the routing guidance is clear but not fully disambiguated.

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