Skip to main content
Glama
db-mcp

db-mcp

by openmaxai

search_objects

Read-onlyIdempotent

Find and list MySQL schemas, tables, views, columns, procedures, functions, and indexes by type, schema, table, or LIKE pattern, with optional detail levels for exploration.

Instructions

DATETIME and DATE values are returned with the digits stored in the database and a trailing "Z" that is only formatting: they have no time zone, so do not convert them to another time zone. TIMESTAMP values are in the server's default session time zone. Search and list database objects on the mysql database

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": {
      "object_type": "<object_type>"
    },
    "name": "search_objects"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results
tableNoFilter to table (requires schema; column/index only)
schemaNoFilter to schema
patternNoLIKE pattern (% = any chars, _ = one char)%
object_typeYesObject type to search
detail_levelNoDetail: names (minimal), summary (metadata), full (all)names

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-obvious behavior: DATETIME/DATE values carry a formatting-only 'Z' with no time zone and must not be converted, while TIMESTAMP values use the server session time zone. It does not mention result-capping or pagination behavior, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The ordering is inverted: two sentences of date-format caveats come first, and the actual purpose arrives last as an unpunctuated clause appended to the caveat sentence. An agent scanning the opening line learns about time zones before learning what the tool does.

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 six-parameter, annotations-backed read tool with no output schema, the description covers the one truly surprising output trait (date/time zone handling) but omits how limit and detail_level shape the result set and says nothing about routing relative to execute_sql. It is adequate but incomplete for the tool's complexity.

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 every parameter (limit, schema, table, pattern, object_type, detail_level) is already documented in the schema, including enum values and the table-requires-schema constraint. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 final sentence states a specific verb and resource: 'Search and list database objects on the mysql database,' and the required object_type parameter narrows it to schemas, tables, views, columns, procedures, functions and indexes. It does not distinguish this tool from the sibling execute_sql, so it stops short of a 5.

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 statement of when to use this tool versus execute_sql, and no explicit exclusions or prerequisites. The only guidance present concerns how to read returned date values, which is interpretation rather than selection guidance.

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