Skip to main content
Glama
lrferr

mysql-mcp-server

by lrferr

detect_suspicious_activity

Scans a specified MySQL connection for suspicious activity, identifying anomalies and potential security threats.

Instructions

Detecta atividades suspeitas no banco de dados

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionNameYesNome da conexão

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says 'detect' but not what is inspected, which signals count, whether it is read-only, how results are reported, or whether privileged access is required. This is a significant gap for a security-audit tool.

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?

One short, front-loaded sentence with no waste, but the brevity reflects under-specification rather than disciplined concision; nothing is expanded where it would matter.

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?

With no annotations and no output schema, the description should explain what 'suspicious activity' means, how findings are returned, and whether it is safe/read-only. None of that is present, leaving an agent unable to call or interpret it confidently.

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?

The single connectionName parameter is fully documented in the schema (100% coverage), so the schema does the work. The description adds no meaning beyond it, which is the baseline case.

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?

States a verb and resource ('detect suspicious activity in the database'), but the scope of 'suspicious' is undefined and nothing distinguishes it from related siblings like audit_user_access or check_sensitive_tables. An agent cannot tell what class of behavior this covers without opening the tool.

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?

No when-to-use guidance, no prerequisites, no mention of alternatives among the many audit/security siblings. The agent must infer the trigger condition entirely from the name.

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