Skip to main content
Glama

FFxF

Set public access

set_database_public_access
Idempotent

Opens the database to the internet at its public host and port (IPv4 and IPv6, TLS and password still required), or closes it. sources restricts who may connect (IPv4/IPv6 addresses or ranges); omitted it is left as is, null or [] means everyone. Prefer listing the user's addresses. Live within about 30 seconds. Scope: network.write.

Input Schema

NameRequiredDescriptionDefault
enabledYes
sourcesNo
databaseYesDatabase id, as returned by list_databases or create_database.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover the safety profile (not read-only, open-world, idempotent, non-destructive), and the description adds real context beyond them: TLS/password still required, propagation 'live within about 30 seconds', and the partial-update semantics of an omitted `sources`. It does not describe failure modes or interaction with existing firewall rules, keeping it from a 5.

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-loads the core action in the first clause and every sentence carries information (security, sources semantics, timing, scope). Slightly dense with parentheticals, but no wasted sentences.

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 mutation tool with no output schema and only three params, the description covers safety implications, propagation timing, and parameter edge cases well. It lacks any statement of the return value/confirmation or error conditions, a minor gap.

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 only 33% (only `database` documented), so the description must compensate — and it does, spelling out `sources` values (addresses/ranges, omitted = leave as is, null or [] = everyone) and what `enabled` toggles. It omits the 50-item cap and address string format, so not a 5.

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 (opens/closes) and resource (database public access at its public host and port), including the protocol family (IPv4/IPv6) and what remains in force (TLS and password). This clearly separates it from firewall siblings like attach_firewall or set_rules.

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?

Gives useful guidance on the `sources` parameter ('Prefer listing the user's addresses') and the omitted vs null vs [] behaviors, but never says when to use this versus attach_firewall/set_rules or what prerequisites (auth scope network.write is stated) are needed. Usage context is implied rather than contrasted with alternatives.

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