infer_database

从项目内容推断数据库。默认仅返回 { db };当 include_evidence=true 时返回经过脱敏的证据统计(不含文件路径/内容)。

Server Yooztech Mcp Mysql yooztech/mcp_mysql
Category Read
Risk class Low
Parameters 00 required

What infer_database does on Yooztech Mcp Mysql

AI agents call infer_database to retrieve information from Yooztech Mcp Mysql without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why infer_database needs a policy

This tool reads and infers information about databases from project context without querying data, modifying databases, executing code, or causing destructive actions. The mechanism is analysis-based inference rather than direct database access.

From the tool's definition Tool performs inference from project context to identify databases, returning only database metadata ({ db }) or anonymized evidence statistics. No data retrieval, modification, deletion, or external execution occurs.

Questions about infer_database

What does the infer_database tool do? +

从项目内容推断数据库。默认仅返回 { db };当 include_evidence=true 时返回经过脱敏的证据统计(不含文件路径/内容)。. It is categorised as a Read tool in the Yooztech Mcp Mysql MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on infer_database? +

Register the Yooztech Mcp Mysql MCP server in PolicyLayer and add a rule for infer_database: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Yooztech Mcp Mysql. Nothing to install.

What risk level is infer_database? +

infer_database is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit infer_database? +

Yes. Add a rate_limit block to the infer_database rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block infer_database completely? +

Set action: deny in the PolicyLayer policy for infer_database. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides infer_database? +

infer_database is provided by the Yooztech Mcp Mysql MCP server (yooztech/mcp_mysql). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.