Skip to main content
Glama

list-targets

Read-only

Lists configured database targets in JSON or text, helping agents identify available connections before running health checks or SQL.

Instructions

dbabrain common.cli list-targets: A listing that takes nothing but its format. Request fields (pass them as request):

  • format: json (default) | txt.

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": "list-targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond that beyond restating that the call is parameterless, leaving open what the operation reads, whether it touches config or a remote service (openWorld), or what the results represent.

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 short sentences, front-loaded with the tool name and immediately followed by the only argument detail that matters. The phrase 'takes nothing but its format' is slightly wasteful since it is implied by the parameter list, but overall there is little fat.

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?

With an output schema present, return-value explanation is not required, and the single argument is adequately covered. The missing piece is conceptual: nothing here tells an agent what a 'target' actually is or how this listing relates to the adjacent list-databases/list-schemas/list-jobs tools.

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 0% and the schema itself is opaque (a nullable free-form object), so the description is the only source of parameter meaning. It usefully names the nested `request.format` field and its two values (json default, txt), which genuinely compensates for the opaque schema, but it does not clarify the `request` wrapper's null default behavior or any other accepted keys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb is present ('a listing'), but the resource is only named via the title/name ('targets') and never defined — an agent cannot tell what a target is from this text. It also makes no attempt to distinguish itself from siblings such as list-databases, list-jobs, or list-schemas, which appear to be parallel listings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: no statement of the condition that selects this listing over the other list-* siblings, and no prerequisites or exclusions. The only usage-like sentence ('takes nothing but its format') describes the input shape, not when to call it.

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

Deploy Server

Other Tools