Skip to main content
Glama

Prepare a database or key change

helix_prepare_admin_operation

Check a change to a database or its keys and return a one-time confirmation for exactly that change, valid for five minutes; helix_execute_admin_operation runs it. Preparing changes nothing.

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": {
      "operation": "<operation>",
      "target": "<target>",
      "payload": "<payload>"
    },
    "name": "helix_prepare_admin_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYescreate_tenant: project:<id>. delete_tenant: tenant:<id>. The key operations: the database, cluster:<id> or tenant:<id>.
payloadYesOperation payload object. create_tenant: {project_id (equal to the target project id), name, slug, optional cluster_id, optional plan_code}. delete_tenant: {}. create_database_key: {name, access (read_only or read_write)}. revoke_database_key: {key_id}.
operationYescreate_tenant makes a database in a project, delete_tenant deletes one, and create_database_key and revoke_database_key manage a database's gateway keys.

Output Schema

NameRequiredDescriptionDefault
expires_atYes
payload_hashYes
confirmation_idYes
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses behavior an agent cannot get from structured fields: the confirmation is single-use, expires after five minutes, is bound to exactly the change described, and preparing itself makes no changes. That no-side-effect guarantee is the single most important behavioral fact for a safety-labeled mutation-adjacent tool, and it is stated plainly.

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?

Two sentences, front-loaded with the verb and the confirmation/expiry semantics, then a short safety clause ('Preparing changes nothing'). Nothing is redundant with the schema or annotations, and the trailing sentence lands the most decision-relevant fact.

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?

With an output schema present, return values need no explanation, and all three parameters are fully documented in the schema. The description covers purpose, chaining, token lifetime and the no-mutation guarantee; the only gap is the failure mode (what happens when the token expires or execute is called without preparing), which is minor for a token-issuing tool.

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%, with per-operation documentation of target and payload already encoded in the schema, so the baseline applies. The description adds only the notion that the token is bound to 'exactly that change' passed in; it does not explain operation-specific constraints or the relationship between operation, target, and payload shape.

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?

The description opens with a specific verb+resource ('Check a change to a database or its keys') and immediately bounds the output ('a one-time confirmation for exactly that change, valid for five minutes'). It names the sibling that consumes the result (helix_execute_admin_operation), so an agent can separate preparing from executing without opening either schema.

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?

The prepare-then-execute pairing is stated explicitly: the confirmation is produced here and 'helix_execute_admin_operation runs it,' which tells the agent when this tool is the right entry point. It stops short of stating exclusions or prerequisites explicitly (e.g., whether execute without a prior prepare fails, or how it differs from helix_prepare_write_query), so it is clear context but not full when/when-not guidance.

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