# list_tables

List tables for the target database.

Agent View of the PolicyLayer registry record for `list_tables`. HTML page: https://policylayer.com/tools/1249zts-db-mcp-service/list-tables

## Facts

- Tool: `list_tables`
- Server: Multi-DB MCP Server (`1249zts/db-mcp-service`) — https://policylayer.com/tools/1249zts-db-mcp-service.md
- Homepage: https://github.com/1249zts/db-mcp-service
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_tables",
    "arguments": {}
  }
}
```

## Why list_tables is rated Low

This tool retrieves metadata about tables in a database without creating, modifying, or deleting any data. It is a read-only operation that returns information about the database schema. The severity is low because the blast radius of misuse is minimal—an AI agent listing tables cannot cause harm beyond information disclosure, which is typically low-risk in most database environments.

From the tool's own definition: "Tool name is 'list_tables' and description states it 'List tables for the target database' — a query operation with no modification or side effects."

## Use case

AI agents call list_tables to retrieve information from Multi-DB MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Multi-DB MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_tables": {}
  }
}
```

## Other tools on Multi-DB MCP Server (4)

- `execute_sql` — Execute — https://policylayer.com/tools/1249zts-db-mcp-service/execute-sql.md
- `describe_table` — Read — https://policylayer.com/tools/1249zts-db-mcp-service/describe-table.md
- `list_databases` — Read — https://policylayer.com/tools/1249zts-db-mcp-service/list-databases.md
- `list_enabled_databases` — Read — https://policylayer.com/tools/1249zts-db-mcp-service/list-enabled-databases.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=1249zts-db-mcp-service · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1249zts-db-mcp-service
