Skip to main content
Glama

list-objects

Read-only

Inspect what an instance holds by listing databases with engine-reported states, schemas of one database, or scheduler jobs and whether each is enabled.

Instructions

List what an instance holds, with the state the engine reports - kind databases (online, restoring, read-only ...), schemas of one database, or jobs of the instance's own scheduler (SQL Server Agent, Oracle's scheduler, pg_cron) and whether each is enabled.

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": {
      "request": "<request>"
    },
    "name": "list-objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe command's request.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real value by saying the result carries engine-reported state (online/restoring/read-only, enabled or not) and by naming the multiple schedulers it spans. It says nothing about how credentials or inventory resolution affect the call, which the schema partly covers instead.

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?

A single front-loaded sentence that states scope first and then the three kinds with their state information. No filler, though the dense dash-and-parenthetical construction and backticked `kind` make it slightly harder to scan than necessary.

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?

The tool is a read-only listing operation with a fully described nested schema and an existing output schema, so return-value detail is unnecessary here. Against that backdrop the description covers what is listed, per kind, and what state accompanies it, which is everything an agent needs to select and call it correctly.

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%, so the nested `request` fields are already documented, including the `kind` enum meanings. The description reinforces the three kinds and notes that job listings report enabled state, but adds no syntax, defaults, or format details beyond the schema. Baseline 3 is 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 gives a specific verb (list) and enumerates exactly three resources: databases with their engine-reported state, a database's schemas, and the instance's own scheduler jobs. The parenthetical engine names (SQL Server Agent, Oracle's scheduler, pg_cron) and the state examples (online, restoring, read-only) sharpen the scope. It stops short of naming a sibling to differentiate from, so it lands at 4 rather than 5.

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 implied by the enumerated `kind` values rather than stated: an agent can infer this is the enumeration tool for an instance's objects. There is no explicit when-to-use versus describe-object, db-status, or due-check, and no statement of prerequisites or exclusions. Adequate but leaves routing decisions to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.