Creates and validates a spending-policy template.
generate_policy_templateGenerate a spending policy template from a use case, then validate its risk level, warnings, and recommended controls to avoid silently unsafe policies.
Instructions
Generates a spending policy template for a use case AND validates it: risk level, warnings, and recommended controls (approval threshold, max transaction, blocked categories). Never returns a silently unsafe policy. No API key required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"use_case": "<use_case>"
},
"name": "generate_policy_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_case | Yes | The use case for the policy (e.g. "SaaS subscriptions", "cloud infrastructure", "office supplies") | |
| monthly_budget | No | Monthly budget limit in USD | |
| allowed_categories | No | List of allowed spending categories |