Skip to main content
Glama

Nimbus Land

Query database

query_database
Read-onlyIdempotent

Runs one read-only SQL statement against a managed Postgres database in the connected Nimbus Land organization and returns the columns and rows. Writes are refused. Results stop at 200 rows and about 64 KB, long values are shortened, and statements stop after 15 seconds, so aggregate or LIMIT large tables. Find names with list_databases.

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": {
      "database": "<database>",
      "sql": "<sql>"
    },
    "name": "query_database"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqlYesOne SQL statement, read-only.
databaseYesThe database's name (from list_databases).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, openWorldHint=false), the description discloses the real operational limits an agent must design around: 200-row and ~64 KB result caps, truncation of long values, and a 15-second statement timeout. These caps and truncation behavior are not derivable from any structured field.

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?

Four short sentences, front-loaded with purpose before constraints, and no filler. The performance guidance ("aggregate or LIMIT large tables") is placed directly after the limits that motivate it.

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

Completeness5/5

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

There is no output schema, but the description states the return shape (columns and rows) and the truncation/size behavior, which is what an agent needs to interpret results. Combined with the two fully documented parameters and the safety annotations, nothing material is missing.

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 100%, so both parameters are already documented, including that the database name comes from list_databases and that sql is a single read-only statement. The description restates rather than extends that meaning, so the baseline 3 applies.

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 opens with a specific verb and resource ("Runs one read-only SQL statement against a managed Postgres database") and adds scope (connected Nimbus Land organization) plus a return summary (columns and rows). An agent can distinguish this from sibling tools like list_databases or run_command immediately.

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?

It gives concrete operating guidance: writes are refused, aggregate or LIMIT large tables, and use list_databases to find database names. It doesn't explicitly name an alternative for cases where a read-only statement won't do, but the when-to-use and when-not conditions are clear.

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.