Skip to main content
Glama

tenant_isolation_setup

Set up tenant data isolation with row-level, schema-level, or database-level policies, including per-tenant rate limits and resource quotas to prevent cross-tenant access and ensure fair usage.

Instructions

Pro: Set up complete tenant data isolation with RLS, connection pooling, and resource limits

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
isolation_levelNoData isolation levelrow-level
include_rate_limitsNoWhether to add per-tenant rate limiting
include_resource_quotasNoWhether to add per-tenant resource quotas
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does disclose that the tool configures RLS, connection pooling, and resource limits, but it does not mention side effects, prerequisites, reversibility, or whether existing database objects are modified. For a setup operation that likely mutates infrastructure, this is a significant transparency gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence and is not verbose, but the 'Pro:' prefix is filler that does not help an agent. For a tool with four parameters and meaningful setup behavior, one short sentence saves space but sacrifices structural detail. It is concise, yet not optimally structured for decision-making.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex setup tool with no output schema and no annotations, and the description does not explain prerequisites, effects on existing infrastructure, required permissions, or how it relates to sibling tenant tools. Schema coverage answers what parameters mean, but the broader operational context an agent needs to invoke this safely is missing.

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 description coverage is 100%, so the parameters are already documented in the input schema. The description adds general context by mentioning RLS, connection pooling, and resource limits, but it does not map these concepts to the actual parameters such as isolation_level or include_resource_quotas. Baseline 3 is appropriate because the schema does the heavy lifting.

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 identifies a specific verb and resource: 'Set up complete tenant data isolation' with concrete components (RLS, connection pooling, resource limits). It is reasonably distinguishable from sibling tools like tenant_design_schema and tenant_generate_middleware, since this one targets full isolation setup rather than schema design or middleware generation. The leading 'Pro:' prefix is slightly unusual but does not obscure the core purpose.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus tenant_design_schema or tenant_generate_middleware. There are no exclusions, prerequisites, or alternative recommendations. The word 'complete' implies a full setup scenario, but this is left to inference rather than stated explicitly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barnburner121/claude-plugin-marketplace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server