Skip to main content
Glama

cypher_restore_neon_schema

Prepare this operator's database schema again, ignoring the breadcrumb.

Diagnostic / recovery tool for when Neon keeps answering 4xx and the operator suspects a table or grant is missing. Every statement is idempotent, so a clean re-run is harmless; the breadcrumb is rewritten at the end. Returns one step per concern, with Neon's own error text inline for any that failed.

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, the description carries the full load and does well: it states every statement is idempotent (a clean re-run is harmless), that the breadcrumb is rewritten at the end, the return shape (one step per concern with inline Neon error text), and the authorization bar (RESTRICTED to operator, requires nsec-signed proof). It does not mention rate limits or side effects on data, but coverage is strong.

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?

Three short paragraphs are front-loaded with the core action, then the diagnostic context, then the safety note. Each sentence carries weight (idempotency, output shape, auth restriction). Minor jargon ('breadcrumb') adds a little noise but nothing is bloat.

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?

With an output schema present, return-value explanation is not required, though the description helpfully summarizes it. Given a single optional parameter and the disclosed auth restriction, the definition is nearly complete. The unexplained 'breadcrumb' concept and the undocumented dpop_token are the only soft spots.

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

Parameters2/5

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

There is one parameter, dpop_token, with 0% schema description coverage, so the description must compensate and does not — the token is never mentioned. The auth-related sentence ('requires proof (nsec-signed)') implies a credential but does not explain the dpop_token field or its default. This is a real gap for an undocumented-but-optional auth parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a concrete verb and resource ('Prepare this operator's database schema again'), and the diagnostic/recovery framing makes the intent legible. It is a bit idiosyncratic with jargon ('breadcrumb'), but an agent can tell what operation this performs. No sibling overlaps with schema restoration, so differentiation is a non-issue.

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 an explicit trigger condition: 'Diagnostic / recovery tool for when Neon keeps answering 4xx and the operator suspects a table or grant is missing.' That is clear when-to-use guidance. It stops short of naming when NOT to use it or pointing to any alternative tool.

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.