Skip to main content
Glama

get_project_state

Check health metadata for the active project, including storage engine and write arbitration mode, to confirm the memory server is responsive before proceeding with state updates.

Instructions

Returns server health metadata for the active project: storage engine (sqlite-wal, or sqlite-wasm when the portable engine is in use) and write arbitration mode (MessageQueue). Use this to verify the egc-memory server is running and responsive before calling get_state or update_state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.20
  2. Removedv1.1.16
  3. Addedv1.1.16
  4. Removedv1.1.12
  5. First observedv1.0.2

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It clearly frames the tool as a read-only health probe that 'returns' metadata and even specifies the content. It could additionally state that it has no side effects or how it behaves when the server is down, but the 'returns' wording and verification purpose make the read-only nature evident.

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 tightly scoped sentences: the first defines the output with specific detail, the second gives usage guidance. Nothing extraneous is present, and the core purpose is front-loaded.

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?

For a zero-parameter health-check tool with no output schema, the description fully covers what it returns (with possible values), when to call it, and why. An agent has enough information to invoke it correctly.

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 the baseline is 4. The schema coverage is vacuously 100%, and there are no parameter semantics for the description to add.

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?

States a specific purpose: returns server health metadata for the active project, listing exact fields (storage engine variants and write arbitration mode). It distinguishes itself from sibling tools by noting it should be used before get_state or update_state, so an agent can tell it apart.

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

Usage Guidelines5/5

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

Provides explicit usage context: 'Use this to verify the egc-memory server is running and responsive before calling get_state or update_state.' This names the sibling tools that follow it and the exact condition for using this tool, leaving no ambiguity about when to invoke it.

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