Skip to main content
Glama
lrferr

mysql-mcp-server

by lrferr

show_grants

Retrieve the privileges of a MySQL user by specifying the username and host. Quickly check user permissions for database administration.

Instructions

Mostra os privilégios de um usuário

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoHost do usuário%
usernameYesNome do usuário
connectionNameNoNome da conexão para usar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only implies a read operation through the verb 'Mostra'. It doesn't disclose whether elevated permissions are required to view another user's grants, whether the result includes role-derived privileges, or anything about the response shape.

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

Conciseness3/5

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

A single short sentence is front-loaded and waste-free, but it is terse to the point of under-specification rather than being efficient communication of necessary detail.

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

Completeness2/5

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

For a 3-parameter tool with no annotations and no output schema, the description is inadequate: it never clarifies the read-only nature, the required permissions, or how it differs from the many sibling privilege tools. The safety profile and output expectations must be inferred.

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 schema already documents username, host, and connectionName. The description adds no parameter-level detail beyond what the schema provides, 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 description states a specific verb and resource ('Mostra os privilégios de um usuário') that clearly identifies the operation. However, it does nothing to distinguish this tool from the sibling 'list_privileges' (or 'audit_user_access'), leaving the agent to guess which privilege-listing tool applies.

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 guidance on when to use this tool versus 'list_privileges', 'grant_privileges', or 'revoke_privileges'. No prerequisites, no context about the scoping by username, and no exclusions are mentioned.

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