Skip to main content
Glama
aidenappl
by aidenappl

lattice_reveal_database_credentials

Retrieve live database credentials for an instance, with audited access and masked passwords to confirm deployment without exposing secrets.

Instructions

Reveal a database instance's live credentials. Every call is audited and recorded against the instance. Returns the application user by default; set include_root only when root access is genuinely required. Passwords come back masked to their first two characters — enough to confirm which credential is deployed, not enough to use. Set LATTICE_ALLOW_SECRET_VALUES=1 in the MCP server env to get the real values, or read them from the Lattice UI

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDatabase instance ID
include_rootNoAlso return the root/superuser password (default false)
Behavior5/5

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

Without annotations, the description fully discloses behavioral traits: calls are audited, passwords are masked to first two characters by default, and real values require an environment variable LATTICE_ALLOW_SECRET_VALUES=1 or reading from the UI. This exceeds expectations for transparency.

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

Conciseness4/5

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

The description is a single paragraph but efficiently packs multiple pieces of information: what it does, audit behavior, default return, guidance on include_root, and masking details. It is not overly long, though it could be slightly more structured.

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?

Given no output schema, the description adequately explains what to expect (application user, masked passwords, need for env var to get real values) and mentions audit logging. It could mention error cases like invalid ID, but for a credential-revealing tool, it is sufficiently complete.

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?

The input schema already describes both parameters (id and include_root) with 100% coverage. The description adds meaningful context: it clarifies that include_root defaults to false and should only be used when needed, and explains that passwords are masked. This adds value beyond the schema.

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 clearly states the tool's purpose with specific verb 'Reveal' and resource 'database instance's live credentials'. It distinguishes from sibling tools like lattice_get_database_credentials by highlighting that every call is audited and what credentials are returned (application user by default, root optional).

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 description provides explicit guidance on when to use include_root ('only when root access is genuinely required') and notes that calls are audited. However, it does not directly compare with the similar sibling tool lattice_get_database_credentials, which could help the agent choose between them.

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/aidenappl/lattice-mcp'

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