Skip to main content
Glama

Configure database public access

databases.public_access.configure

Enable, update, or disable CIDR-restricted public access for a managed database. This applies without a redeploy.

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": {
      "deployment_id": "<deployment_id>",
      "enabled": "<enabled>"
    },
    "name": "databases.public_access.configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYeswhether public access is enabled
allowed_cidrsNoIPv4 CIDRs allowed to connect; required when enabled
deployment_idYesmanaged database deployment identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
deploymentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false and destructiveHint=false, so the safety profile is partly covered. The description adds one genuinely useful behavioral fact, that changes take effect without a redeploy, but omits significant behavior for a security-sensitive operation: what happens to existing allowed CIDRs when disabled, whether disabling cuts off connectivity, and whether the change is reversible or permission-gated.

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?

Two sentences with no filler, and the core action and scope are front-loaded before the redeploy note. Slightly more compression would be possible, but nothing is wasted.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety hints. However, for a public-exposure mutation the description leaves out prerequisites (organization/deployment context), side effects on allowed_cidrs when disabling, and any security caveat, which an agent would want before invoking.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all four parameters, including the conditional requirement that allowed_cidrs is needed when enabled. The description only echoes 'CIDR-restricted' and adds no format or interaction detail beyond the schema, so baseline 3 applies.

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 gives specific verbs (enable, update, disable) bound to a specific resource (CIDR-restricted public access on a managed database), which is clearly separable from configure siblings like databases.backups.configure or databases.pool.configure. It stops short of naming an alternative tool or contrasting it with other database configuration surfaces, but the operation and object are unambiguous.

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 only implied by the wording: an agent can infer this is the tool for toggling public access, and the 'without a redeploy' note suggests when it is preferable to a redeploy-based change. There is no explicit when-to-use/when-not-to-use guidance, no prerequisites, and no mention of alternatives such as checking existing state first.

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