Skip to main content
Glama

Create a Postgres database

lavela.provision_database
Idempotent

Create a managed Postgres under lavela (no signup; no backups, short provider history — dump your own); wireToService (an existing server) gets DATABASE_URL, else the string is returned. Needs a funded account; no usage charge today (limited per account) — don't promise a price. Confirm with the user. The same name again returns that database. Details: https://console.lavela.dev/docs/mcp#persistent-data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoDB name (default "db").
projectIdYes
wireToServiceNoCompute service to inject DATABASE_URL into (e.g. "api"). Omit to just get the string.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: no backups / short provider history with "dump your own", funded-account requirement, no usage charge today, idempotent behavior ("same name again returns that database"), and what wireToService does versus returning the connection string. These are real operational caveats an agent must know.

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?

Front-loaded with the purpose and dense with useful detail, but the heavy parentheticals and em-dash clauses make it read as a packed run-on rather than cleanly structured sentences.

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 mutation tool with no output schema, it covers the important bases: prerequisites, idempotency, side effects of wireToService, durability caveats, and a docs link. Nothing critical to calling it correctly 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?

Schema coverage is 67%; the description adds meaning for wireToService by explaining that DATABASE_URL is injected into an existing server, else the raw string is returned. The name default is already in the schema and projectId is left unexplained, so it does not fully compensate for the coverage gap.

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 verb+resource ("Create a managed Postgres under lavela") and scopes it as a persistent managed database, which is inherently distinct from the compute/domain/email provisioning siblings. An agent can immediately tell this is the database-provisioning tool.

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?

Gives clear prerequisites and context: "Needs a funded account", "Confirm with the user", and the no-price warning. It does not name an alternative tool or a when-not-to-use condition, so it stops short of explicit alternative routing.

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.

Resources