Skip to main content
Glama

ohmyho.st

Read actual managed database compute configuration

database_compute_get
Read-onlyIdempotent

Read current managed database memory, total storage, region and observed state without running SQL or waking the database. Shared Dev/Prod resolves to one physical database. First provisioning is distinct from cold (sleeping) and warm (running). An existing environment without a confirmed database placement returns not_set_up with guidance for provisioning or setup. A configured size does not prove an in-progress resize finished. This read never resizes or changes billing.

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>"
    },
    "name": "database_compute_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject identifier.
environmentNodev

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds real behavior: it does not wake a sleeping database, shared Dev/Prod collapse to one physical database, first provisioning is distinct from cold and warm states, and an unconfirmed placement returns not_set_up. That is substantial disclosure beyond the annotation block.

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?

Front-loaded with the core read, then caveats in descending order of importance; nearly every sentence carries distinct information. It runs six sentences and reads slightly like a list of edge cases, but nothing is pure filler.

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 carries the burden of explaining returns and does so by naming memory, storage, region, observed state, and the not_set_up response. It does not explain how an agent would positively confirm a completed resize, which is the main remaining gap.

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 50%, with project_id documented in-schema and environment self-describing via enum plus default. The description adds genuine meaning for environment ('Shared Dev/Prod resolves to one physical database'), but says nothing about the project_id format or validation, so it only partly compensates.

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?

Opens with a specific verb and resource ('Read current managed database memory, total storage, region and observed state'), and explicitly negates the write sibling's behavior ('This read never resizes or changes billing'). It never names database_compute_set, so the routing signal is inferred rather than stated, which keeps it short of a 5.

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?

Gives clear conditions for use: read config without running SQL or waking the database, and understand that dev/prod resolve to one physical database. It also sets expectations about when the answer is inconclusive ('A configured size does not prove an in-progress resize finished'), though it never explicitly says to prefer another tool for a given scenario.

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.