Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Get database

get_database
Read-only

One database: size, tables with row counts (Postgres), backups.

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": {
      "slug": "<slug>"
    },
    "name": "get_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDatabase slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered, but the description adds genuinely new behavioral detail about the response payload (size, table row counts, backups). It also flags that row counts are a Postgres-specific feature, which prevents misinterpretation on other engine types. It stops short of describing behavior for a missing slug or whether backups are summarized or full.

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?

One short fragment, front-loaded with the scope ('One database') followed by the returned data. Every word carries information and there is no filler, though the telegraphic style borders on under-specification rather than tight prose.

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?

For a one-parameter read tool with annotations covering safety and no output schema, the description covers the essentials: scope and return contents. Gaps remain around error behavior for unknown slugs and whether backup data is summarized or exhaustive, which matter for a tool with no output schema to fall back on.

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?

There is a single required parameter, slug, with 100% schema description coverage, so the schema already carries its meaning. The description adds nothing about slug format, where to obtain it, or case sensitivity, making the baseline 3 appropriate.

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 the resource (a single database) and enumerates what comes back: size, tables with row counts, and backups. The lead fragment 'One database' implicitly distinguishes it from list_databases, though no sibling is named explicitly and there is no verb.

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 only implied by the singular framing 'One database', which suggests fetching a specific database rather than enumerating them. There is no explicit guidance on when to prefer this over list_databases or advise_database, and no mention of prerequisites.

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.