Skip to main content
Glama

ohmyho.st

Revoke one issued database credential

database_access_revoke
DestructiveIdempotent

Revoke one issued database credential immediately: open sessions end and its PostgreSQL role is removed. Revocation is idempotent and never touches application roles or data.

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": {
      "project_id": "<project_id>",
      "access_id": "<access_id>"
    },
    "name": "database_access_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
access_idYesIssued database credential identifier.
project_idYesProject identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description still adds substantive behavior beyond that: revocation is immediate, open sessions end, and the PostgreSQL role is removed. It partly restates idempotency from the annotations and omits permission requirements and irreversibility of the credential, keeping it below 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.

Conciseness5/5

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

A single sentence that front-loads the action and its immediacy, then appends the safety scope. No filler, no redundant restatement of the title beyond what is useful.

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 destructive, two-parameter mutation with full schema coverage and no output schema, the description covers what happens, when it takes effect, idempotency, and what is left untouched. It stops short of stating required permissions or confirming the response shape, but nothing essential for calling it correctly 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%, with both access_id and project_id documented as ULID-patterned identifiers, so the schema carries parameter meaning. The description adds nothing further about parameter semantics, which is the expected baseline when the schema is fully documented.

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 names a specific verb and resource with scope: 'Revoke one issued database credential immediately'. That clearly distinguishes it from the sibling database_access_list, but it never explicitly routes to or away from adjacent revoke tools such as connection_revoke or application_domain_identity_revoke.

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?

Usage is implied rather than stated: the tool is for revoking an already-issued database credential, and the clause 'never touches application roles or data' implicitly scopes what it is not for. There is no explicit when-to-use condition, prerequisite (e.g., admin permission), or named alternative for other revoke scenarios.

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.