crear_tarea
⚠️ ESCRITURA. Crea una tarea (assign) en un curso.
This record as markdown: /tools/moodle-ai-assistant/crear-tarea.md
What crear_tarea does on Moodle Ai Assistant
AI agents use crear_tarea to create or update resources in Moodle Ai Assistant, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Moodle Ai Assistant environment.
Why crear_tarea is rated Medium
An AI agent can call crear_tarea faster than any human can review: one bad instruction and it creates or modifies resources in Moodle Ai Assistant by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs crear_tarea safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Moodle Ai Assistant, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For crear_tarea, this is the rule to start with:
crear_tarea stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Moodle Ai Assistant, apply this rule, and every crear_tarea call is checked against it from then on.
Questions about crear_tarea
⚠️ ESCRITURA. Crea una tarea (assign) en un curso. It is categorised as a Write tool in the Moodle Ai Assistant MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Moodle Ai Assistant MCP server in PolicyLayer and add a rule for crear_tarea: 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 Moodle Ai Assistant. Nothing to install.
crear_tarea 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 crear_tarea 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 crear_tarea. 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.
crear_tarea is provided by the Moodle Ai Assistant MCP server (rafenixcore/moodle-ai-assistant). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Moodle Ai Assistant, and thousands of servers like it.
This server
Across the catalogue