Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Advise on a database

advise_database
Read-only

Before creating a database, ask Studio what to recommend: Postgres on the shared server, Postgres on a dedicated server, or Relatude.DB inside the .NET app, with the reasons and what to watch out for. Describe the situation with the flags; explain the advice to the person in plain words.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "advise_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
bigOrBusyNoMany GB or heavy traffic
dotnetOnlyNoOnly a .NET app reads and writes the data
productionNoProduction (not a test)
premiumPlanNoThe organization is on a premium plan
contentHeavyNoMostly content and media (pages, articles, catalogue)
handlesMoneyNoPayments, invoices, subscriptions
personalDataNoMembers, customers or other personal data
teamKnowsSqlNoThe team works comfortably with SQL
needsSeveralInstancesNoSeveral app instances or other apps must write to it
needsTextOrVectorSearchNoText or vector (AI) search is central
importFromSupabaseOrPostgresNoThe data comes from Supabase or another Postgres

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, so the bar is lower, and the description adds real value on top: it discloses that the output is a recommendation with justifications and risks ('with the reasons and what to watch out for'). It also prescribes the downstream behavior of explaining the advice in plain words to a human, which the annotations cannot convey. It does not describe the shape of the returned advice (structured fields vs prose), a minor gap given no output schema.

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?

Two sentences, no filler, with the timing constraint ('Before creating a database') placed first where an agent will see it. Every clause earns its place; the only slight looseness is the colon-separated option list, which is long but genuinely informative.

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?

For an 11-parameter advisory tool with no output schema and zero required parameters, the description covers what it returns and how to use the result. A small omission is that it never says all flags are optional with defaults, so an agent might assume it must interrogate the user for every flag before calling.

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 description coverage is 100%, with all 11 boolean flags individually documented in the schema, so parameter meaning is already fully carried by structured data. The description only adds the framing that the flags collectively 'describe the situation' rather than any per-flag semantics, which is the expected baseline when the schema does the heavy lifting.

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 names a specific verb (recommend/advise) and resource (database), and enumerates the exact outcome space: Postgres on the shared server, Postgres on a dedicated server, or Relatude.DB inside the .NET app. It also states the deliverable includes reasons and caveats, which distinguishes it cleanly from create_database and get_database.

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 trigger is explicit and front-loaded: 'Before creating a database, ask Studio what to recommend.' That tells the agent exactly when to reach for this tool relative to the create path. It stops short of naming when NOT to use it (e.g. for an existing database, or after the decision is made), so it is clear context rather than a full routing rule.

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.