Skip to main content
Glama
@vertracloud/mcp

@vertracloud/mcp

Official
by vertracloud

get_connection_info

Read-onlyIdempotent

Retrieve database connection details—address, port, engine, username, CA certificate, and a password-placeholder connection string—plus app-specific connection code when app_id is provided.

Instructions

Data to connect to the database: address, port, engine, user name, CA certificate in PEM and a connection string (with a <password> placeholder, since the API never returns the password). This server does not run queries — you're the one who connects. With app_id (an application linked to this database in a stack) it also returns how_to_connect: code in the application's language, with the real names of the variables the platform injected. (scope: databases:credentials)

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": {
      "id": "<id>"
    },
    "name": "get_connection_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDatabase ID
app_idNoApplication linked to this database in a stack; adds the "how to connect" code for it
workspace_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • addedInput schema / properties / app_id
      Added value: +{
      +  "description": "Application linked to this database in a stack; adds the \"how to connect\" code for it",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / id / minLength
      Added value: +1
  3. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, it discloses two non-obvious behaviors: the API never returns the password (so the connection string carries a `<password>` placeholder) and the server does not execute queries. The `databases:credentials` scope tag also signals an auth requirement. It doesn't cover failure modes (e.g. what happens with a bad id or missing app link), which keeps it off 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.

Conciseness4/5

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

The payload contents are front-loaded in the first sentence, then the no-query caveat, then the app_id conditional, then the scope tag. Dense but every clause carries information; only the parenthetical about the password is slightly buried.

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 no output schema, the description correctly takes on the burden of describing the return payload field by field, plus the optional how_to_connect addition. What's missing is the shape of the response (single object vs. nested, error behavior) and any mention of workspace_id.

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 coverage is 67%; the description enriches app_id meaningfully (code in the application's language, with the real injected variable names) and explains the password placeholder. However, workspace_id is documented in neither the schema nor the description, leaving one parameter opaque.

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 enumerates exactly what is returned (address, port, engine, user name, CA certificate in PEM, connection string) and explicitly states the server does not run queries. It is unmistakable against siblings like get_database or get_database_metrics, though it never names an alternative to reinforce the distinction.

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 ('Data to connect to the database', 'you're the one who connects') and the app_id token is explained as a conditional enhancement. There is no explicit when-to-use or when-not guidance relative to get_database, and no prerequisites beyond the scope tag.

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

Deploy Server

Other Tools