Skip to main content
Glama
MySQL MCP Server

MySQL MCP Server

by berthojoris

list_stored_procedures

Read-onlyIdempotent

Lists all stored procedures in a MySQL database so you can discover available routines before calling or reviewing them.

Instructions

Lists all stored procedures in the specified database.

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_stored_procedures"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoOptional: specific database name to list procedures from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.46.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restating here. The description adds the useful scoping fact that this is an unfiltered listing of all procedures, but says nothing about what happens when no database is supplied or how large result sets are handled.

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?

One short sentence with the resource and scope front-loaded and no filler, hedging, or duplicated annotation text. Nothing could be removed without losing meaning.

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 a simple, non-destructive, closed-world listing tool with a single fully documented optional parameter and no output schema, this is nearly sufficient. The only meaningful gap is the default database behavior when the argument is omitted, which the agent may need to know 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% – the single 'database' parameter is already documented as an optional database name. The description only reinforces that procedures come from 'the specified database' and does not explain the default target when the parameter is omitted, so it adds little beyond the schema.

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?

Clear verb-plus-resource statement: 'Lists all stored procedures in the specified database' tells the agent exactly what is returned (a full enumeration of procedures) and the scope (one database). It stops short of differentiating itself from the sibling get_stored_procedure_info, which retrieves details for a single procedure, so it lands just below the top mark.

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 only implied: the word 'all' suggests enumeration/discovery, as opposed to the per-object detail call in get_stored_procedure_info, but the description never states when to prefer this tool or when another tool fits better. No prerequisites, exclusions, or follow-up steps are given.

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