Skip to main content
Glama

Create an organization on a customer's database

admin_create_customer_database_organization
Destructive

Internal staff only. Creates an Enterprise organization directly on a Postgres database in the customer's own AWS account: past assumes the customer's role with the external id, signs in with RDS IAM authentication, and refuses a database it cannot reach, one without the vector extension, or one that already holds tables. The owner's address is reserved as the organization's Owner, and they land in it when they first sign in; an address that already has an organization is refused. Call it without confirm first, put the sentence it answers with to the person, and call again with confirm: true only when they agree.

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": {
      "name": "<name>",
      "ownerEmail": "<ownerEmail>",
      "host": "<host>",
      "port": "<port>",
      "database": "<database>",
      "username": "<username>",
      "region": "<region>",
      "roleArn": "<roleArn>",
      "externalId": "<externalId>",
      "confirm": "<confirm>"
    },
    "name": "admin_create_customer_database_organization"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesThe database's RDS endpoint, which its certificate and authentication tokens name.
nameYesThe organization's name, as its members will see it.
portYesThe database's port, usually 5432.
regionYesThe AWS region of the database, such as us-east-1.
confirmYestrue only once the person has agreed to the sentence the unconfirmed call answered with.
roleArnYesThe ARN of the customer's role that past assumes.
databaseYesThe database's name.
dialHostNoThe PrivateLink or VPC Lattice endpoint past dials, when it differs from host. Leave it out to dial host.
usernameYesThe Postgres user granted rds_iam.
externalIdYesThe external id admin_prepare_customer_database answered.
ownerEmailYesThe address of the person who will own the organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the whole mechanics of the operation: role assumption with an external id, RDS IAM sign-in, three specific preflight refusals (unreachable DB, missing vector extension, existing tables), owner-email reservation, and refusal when the address already owns an organization. This is the kind of auth, precondition, and irreversible-effect detail destructiveHint=true alone cannot convey.

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

Conciseness5/5

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

A single dense paragraph that front-loads the audience restriction and the action, then the mechanics, then the call protocol. Every clause carries decision-relevant information; nothing is filler.

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 an 11-parameter, non-idempotent mutation against a customer-owned database with no output schema, the description covers preconditions, auth path, and the required confirm handshake. The remaining gap is what the unconfirmed response actually contains (beyond 'a sentence') and what a partial failure leaves behind, which matters given destructiveHint=true.

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 100%, so the baseline would be 3; the description adds genuine cross-parameter meaning by tying externalId to the output of admin_prepare_customer_database and by explaining the confirm/ownerEmail protocol as a conversational handshake with the end user. It does not add syntax or format detail beyond what the schema already states for host, region, or dialHost.

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?

Opens with a specific verb+resource ('Creates an Enterprise organization') plus the exact target ('directly on a Postgres database in the customer's own AWS account'), which is clearly distinct from siblings like admin_create_signup_campaign or get_organization. The scope qualifier ('Internal staff only') further narrows who it is for.

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

Usage Guidelines4/5

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

Gives an explicit operating context (internal staff only) and a precise two-step protocol: call without confirm, relay the sentence, then call again with confirm:true only on agreement. It also lists the preconditions under which the call is refused. It stops short of naming an alternative to use when the preconditions fail or when the org already exists (e.g. admin_find_organization), so guidance is clear but not complete.

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