create_service
Create a bookable service. Sets duration, price, capacity, and policies. Use list_service_categories first if you want to attach to an existing category.
This record as markdown: /tools/io-favcrm-favcrm/create-service.md
What create_service does on FavCRM
AI agents use create_service to create or update resources in FavCRM, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your FavCRM environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Service name |
type | string | — | Default one_on_one |
price | string | — | Decimal string, e.g. "80.00". Defaults to "0". |
status | string | — | Default active |
capacity | number | — | How many participants per slot (default 1) |
currency | string | — | ISO currency code, default HKD |
sortOrder | number | — | Sort order (lower = earlier) |
categoryId | string | — | Existing service category ID |
visibility | string | — | Visibility: public | members_only | hidden |
description | string | — | Description |
requireLogin | boolean | — | Default true — guests cannot book |
requiresStaff | boolean | — | Whether the service requires staff assignment |
Parameters from the server's own tool schema.
Why create_service is rated Medium
This tool creates new service offerings in the CRM, which is a reversible write operation. It establishes business-critical entities (services with pricing and policies) that affect customer-facing functionality and revenue operations. The moderate severity reflects that while it doesn't delete data or move money, misconfiguration could disrupt service availability or introduce incorrect pricing.
From the tool's definition Tool name 'create_service' and description 'Create a bookable service. Sets duration, price, capacity, and policies' indicates data creation that modifies the CRM state.
Risk signalsHigh parameter count (20 properties)
Attacks that exploit this kind of access
The rule that runs create_service safely
PolicyLayer is an MCP gateway: it sits between your AI agents and FavCRM, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For create_service, this is the rule to start with:
create_service 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 FavCRM, apply this rule, and every create_service call is checked against it from then on.
Questions about create_service
Create a bookable service. Sets duration, price, capacity, and policies. Use list_service_categories first if you want to attach to an existing category. It is categorised as a Write tool in the FavCRM MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_service accepts 12 parameters: name, type, price, status, capacity, currency, sortOrder, categoryId, visibility, description, requireLogin, requiresStaff. Required: name. The full parameter table on this page comes from the server's own tool schema.
Register the FavCRM MCP server in PolicyLayer and add a rule for create_service: 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 FavCRM. Nothing to install.
create_service 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 create_service 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 create_service. 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.
create_service is provided by the FavCRM MCP server (https://api.favcrm.io/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on FavCRM, and thousands of servers like it.
This server
Across the catalogue