Skip to main content
Glama

database_mcp_create

Generates an MCP server for the Product's own users and agents, over the tables and columns you choose: each tool is a get, list, search, traverse, insert or update on one table. It never runs as the Product's role. Helm7 creates two database roles for it, one for public tools and one for signed-in users, and grants them only the columns the tools name; every request runs in its own transaction as one of them, with the caller's claims set so row_filter and your own row level security both apply. Returns the server's URL. Free; search tools embed the query at cost.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "productId": "<productId>",
      "databaseId": "<databaseId>",
      "tools": "<tools>"
    },
    "name": "database_mcp_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWhat the server is called in an MCP client, e.g. "Acme catalogue".
toolsYesThe tools to offer. At least one.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
databaseIdYesDatabase identifier, from product_get or database_get.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Well beyond the annotations, the description discloses the security model: it never runs as the Product's role, two roles are created (public and signed-in), grants are limited to the columns the tools name, each request runs in its own transaction with the caller's claims set, and row_filter plus existing RLS both apply. It also states the return value (the server's URL) and a cost caveat. It stops short of 5 because the confirm/dry_run workflow and idempotency expectations are left to the schema.

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 a single dense passage with no filler. The core purpose comes first, then the security and cost model, and every clause carries information an agent needs before calling.

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?

The description covers the return value, the authorization model, and the cost profile, which the 100%-covered schema does not. It omits the dry_run/confirm protocol that the schema presents as important for unreviewed changes, and it does not say whether the server is live immediately after the call. Those omissions are minor against an otherwise rich explanation.

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 100%, so the baseline is 3, but the description adds genuine meaning: it explains that the tools array defines one operation per table, that column grants are derived from the names given, and that row_filter composes with existing row level security and caller claims. That is conceptual context the JSON schema cannot convey on its own.

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 opens with a specific verb and resource: "Generates an MCP server for the Product's own users and agents, over the tables and columns you choose," and it explains that each generated tool is a get, list, search, traverse, insert, or update on one table. It does not name the neighbouring server-management siblings (database_mcp_get, database_mcp_update, database_mcp_delete) or say how this call differs from them, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the act of creating a server, and there is a useful cost note ("Free; search tools embed the query at cost"). However, the description never says when to use it rather than inspect or modify an existing server, and the important "call this before any change you have not made before" guidance sits only in the dry_run parameter description, not in the tool description.

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