Skip to main content
Glama
EpicLabs23

ecp-mcp-server

by EpicLabs23

ecp_mysql_grant_privileges

Grant specific MySQL privileges to a user on a database, with confirmation required for security.

Instructions

Grant privileges (e.g. ['SELECT','INSERT']) to a MySQL user on a database. Security-sensitive - review carefully before confirming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYes
db_nameYes
privilegesYes
db_usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

There are no annotations, so the description carries the transparency burden. It adds the warning "Security-sensitive - review carefully before confirming," which alerts the agent to treat the operation carefully. This is useful but it does not disclose what happens on execution, whether it is idempotent, or the permission/authentication implications beyond that warning.

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?

The description is two short sentences with no filler. The primary action is front-loaded immediately, and the security warning is placed as a separate, meaningful final note. Every sentence earns its place, and the example is compact and illustrative.

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?

This is a security-sensitive mutation tool with no output schema, no annotations, and 0% schema description coverage. The description covers the basic intention but leaves out important execution context such as whether the target user/database must already exist, how the operation interacts with existing privileges, and what the actual output or result is. Given the stakes, the description should provide more context.

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 0%, so the description must compensate. It clarifies the target by saying "to a MySQL user on a database," implicitly mapping db_username and db_name, and gives an example value for privileges. However, it does not explain the confirm parameter's semantic role except indirectly through the phrase "before confirming," and it does not describe each parameter in depth.

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

Purpose5/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: "Grant privileges" to "a MySQL user on a database." It gives a concrete example of the privileges input and leaves no doubt that this is the MySQL grant tool, distinct from mssql_grant_privileges and postgres_grant_privileges siblings.

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?

The purpose "Grant privileges..." implies the tool is for adding permissions, and the sibling name ecp_mysql_revoke_privileges implies the reverse action. However, the description gives no explicit guidance on prerequisites (e.g., the user and database must already exist) or conditions for choosing this over list_privileges/revoke_privileges, leaving some selection inference to the agent.

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