LLM을 활용한 do 파일 템플릿 생성
AI agents use generate_do_template to create or update resources in Stata MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Stata MCP Server environment.
This tool creates new template content (a do file), which is a reversible Write operation. It does not execute code, delete data, or modify financial state. The generated template is boilerplate content that can be edited or discarded. Severity is low because templates are non-critical and easily modified or removed.
From the tool's definition Tool description indicates it 'generates' a do file template. The name 'generate_do_template' and description 'LLM을 활용한 do 파일 템플릿 생성' (Generate do file template using LLM) suggest creation of a new template file.
Attacks that exploit this kind of access
LLM을 활용한 do 파일 템플릿 생성. It is categorised as a Write tool in the Stata MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Stata MCP Server MCP server in PolicyLayer and add a rule for generate_do_template: 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 Stata MCP Server. Nothing to install.
generate_do_template is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the generate_do_template 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.
Set action: deny in the PolicyLayer policy for generate_do_template. 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.
generate_do_template is provided by the Stata MCP Server MCP server (mkprevo/stata-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
generate_do_template is one line of Stata MCP Server's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →