Skip to main content
Glama

database_get

Read-onlyIdempotent

Size, extensions, connection counts and backup state. Connection strings are returned only to a key carrying database:read, and the password is shown only on creation.

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": {
      "productId": "<productId>",
      "databaseId": "<databaseId>"
    },
    "name": "database_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
databaseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-structured context: connection strings are gated behind a key with database:read, and the password is only visible at creation time, which tells the agent what will and won't be returned and why. It does not cover error behavior for missing or unauthorized databases, which keeps 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?

Two short sentences with zero filler. The most decision-relevant information (what is returned) is front-loaded, and the access-control caveats follow immediately. Nothing could be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carrying return-field information is valuable, and the access-control note further helps. However, for a 2-required-parameter tool it leaves databaseId semantics unexplained and says nothing about failure modes or permission errors. Adequate but with clear gaps for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: productId has a pattern and example, but databaseId is an undocumented plain string. The description mentions neither parameter, so it does nothing to compensate for the gap. An agent gets no explanation of databaseId's expected format or how it relates to productId.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase listing fields ("Size, extensions, connection counts and backup state") rather than a verb+resource statement, so the agent must infer that this returns database metadata. The listed fields do make the resource (a database) and the read nature reasonably evident, and the verb is recoverable from the annotation title "Inspect a database". It doesn't explicitly differentiate itself from siblings like database_query or database_backup, though the field list implies inspection.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternatives. The agent is left to infer that this is the metadata-inspection tool versus database_query (data) or database_execute (statements), and must rely on sibling names alone. Only the implied context of the returned fields hints at appropriate usage.

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