Skip to main content
Glama

database_mcp_update

Replaces the tool list of the database's MCP server. Grants follow: a column no tool names any more is revoked in the same transaction, so narrowing a tool takes effect on the next request. The URL does not change.

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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
toolsYes
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.8/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds real behavior the agent cannot see: grants are recomputed and stale columns are revoked in the same transaction, and the change is live on the next request. The silent revocation of grants is arguably destructive in effect despite destructiveHint=false, though it removes access rather than data, so this reads as incomplete annotation coverage rather than a contradiction.

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 core action, then two short supporting facts, with no filler. "The URL does not change" is slightly cryptic in isolation (which URL, and why would an agent care), which keeps it off a 5.

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 7-parameter configuration mutation with 71% schema coverage and no output schema, the description covers the risky parts: replacement semantics, immediate grant revocation, and stable endpoint. It leaves out response shape, the `name` parameter's effect, and permission prerequisites, all of which are partly handled by dry_run/confirm/idempotency_key in the schema.

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 71% schema coverage the schema already documents most fields well, but the description supplies the one thing the schema omits about the `tools` array: it is a full replacement, not a merge. The sentence about columns no longer named being revoked clarifies the lifecycle of the nested `columns` grants beyond the schema's "Nothing else is granted".

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?

"Replaces the tool list of the database's MCP server" is a specific verb plus resource, and "replaces" distinguishes it from an additive sibling such as database_mcp_create. It never names a sibling, so the differentiation is implicit rather than explicit.

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?

The word "replaces" conveys that the supplied array is authoritative and anything omitted is dropped, which is critical usage context an agent could otherwise get wrong. However, there is no explicit when-to-use, no exclusions, and no pointer to database_mcp_create/database_mcp_delete for the alternative cases.

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