Skip to main content
Glama

weather_restore_neon_schema

Re-run ensure_schema() on every NeonVault this operator uses.

Diagnostic / recovery tool for the case where the Neon HTTP SQL API is returning persistent 4xx errors and the operator suspects the schema isn't there or grants are wrong. Idempotent — uses CREATE TABLE IF NOT EXISTS so a successful re-run is harmless.

Returns the per-step result. If any step raises, surfaces the Neon error message inline (0.31.0 reads the SQL error body that earlier wheels swallowed behind raise_for_status).

RESTRICTED to operator — requires proof (nsec-signed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpop_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description discloses idempotency (using CREATE TABLE IF NOT EXISTS), harmlessness, return of per-step results, inline error message surfacing, and restriction to operator with nsec-signed proof. This provides good behavioral transparency, though it does not explain the dpop_token parameter's role in behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with several sentences, front-loading the purpose and then adding details. It could be slightly more concise but is well-structured and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose, usage context, behavior, and restrictions. However, it omits any explanation of the dpop_token parameter, which is a gap. Given an output schema exists (though not shown) and only one optional parameter, the description is mostly complete but lacks parameter clarity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description does not mention the single parameter dpop_token at all, nor explain its purpose or effect. With 0% schema description coverage, the description adds no value beyond the raw schema, leaving the agent without guidance on this parameter.

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 tool re-runs ensure_schema() on every NeonVault the operator uses, and specifies it's a diagnostic/recovery tool for persistent 4xx errors from the Neon HTTP SQL API. The verb and resource are specific, and no sibling tool appears to have a similar purpose.

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?

The description explicitly states when to use: when the Neon HTTP SQL API returns persistent 4xx errors and schema or grants are suspected. It does not explicitly exclude other scenarios or mention alternatives, but the context is clear and sufficient for the intended use case.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.