Skip to main content
Glama

wal_status

Identify potential WAL configuration issues and replication risks by reading current WAL position, level, size settings, and archiver health.

Instructions

[READ] WAL position, level, size settings and archiver health.

Args:
    target: Target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavioral traits. The [READ] tag indicates a read-only operation, which is good. However, it does not mention any potential side effects, required permissions, or error conditions (e.g., invalid target). The description is adequate for a simple read but lacks depth.

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 covering overall purpose and parameter. The [READ] prefix and Args block are well-structured and front-loaded. Every sentence adds value 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?

For a tool with one optional parameter and no output schema, the description is mostly complete. It clearly states the read nature and what aspects of WAL are reported. However, it does not describe the return structure or behavior when target is invalid, which would be helpful for an agent to interpret results.

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?

With schema description coverage at 0%, the description adds essential meaning: 'Target name from config; omit for the default.' This tells the agent that 'target' refers to a config key and that omitting uses a default value, which is beyond the schema's type-only definition. It could be improved by specifying the default value or format.

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 resource (WAL) and the specific attributes (position, level, size settings, archiver health) returned. The [READ] prefix signals a read-only operation, and the tool name 'wal_status' is self-explanatory. Among sibling tools like 'replication_status', this one is uniquely focused on WAL status, providing clear distinction.

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. For example, it does not explain how 'wal_status' differs from 'replication_status' or other monitoring tools. The description states what it does but not the specific context or prerequisites for use.

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

Install Server

Other Tools

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/AIops-tools/Postgres-AIops'

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