create_template

Create a reusable task template. Optionally include a tasks array to define a multi-task template with dependencies and variable placeholders ({name} syntax). Use variables to define typed variable definitions with defaults and required flags.

Server Todos @hasna/todos
Category Write
Risk class Medium
Parameters 00 required

What create_template does on Todos

AI agents use create_template to create or update resources in Todos — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Todos environment.

Why create_template needs a policy

This tool creates new data structures (task templates) that persist in the system, making it a Write operation. It does not execute arbitrary code, delete data, or move money. The severity is medium because misconfigured templates or templates created with malicious placeholders could affect downstream task execution, but the immediate impact is limited to template creation.

From the tool's definition Tool description states 'Create a reusable task template' — the verb 'Create' and the action of defining new templates with tasks, dependencies, and variable placeholders indicate data creation.

Questions about create_template

What does the create_template tool do? +

Create a reusable task template. Optionally include a tasks array to define a multi-task template with dependencies and variable placeholders ({name} syntax). Use variables to define typed variable definitions with defaults and required flags. It is categorised as a Write tool in the Todos MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on create_template? +

Register the Todos MCP server in PolicyLayer and add a rule for create_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 Todos. Nothing to install.

What risk level is create_template? +

create_template is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create_template? +

Yes. Add a rate_limit block to the create_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.

How do I block create_template completely? +

Set action: deny in the PolicyLayer policy for create_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.

What MCP server provides create_template? +

create_template is provided by the Todos MCP server (@hasna/todos). 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.