Skip to main content
Glama

service_create

Adds a web, worker or cron service. Helm7 detects the framework from the repo and picks a build; you only need to override when detection is wrong. A service has no execution time limit, so long jobs do not need splitting.

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": {
      "productId": "<productId>",
      "name": "<name>",
      "kind": "<kind>"
    },
    "name": "service_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesweb receives HTTP traffic and can hold a domain. worker runs continuously with no ingress. cron runs on a schedule and exits.
nameYes
pathNoCron only. A path on one of your web services, such as /api/cron/digest. The cron then calls it on the schedule instead of running a container: no repo or image, nothing to build. The call is made from inside that service, so it does not cross the public internet or time out at 100 seconds, and it carries Authorization: Bearer $CRON_SECRET (created for the environment if it has none).
repoNoGit URL. Required unless image is given.
imageNoContainer image reference, as an alternative to building from a repo.
branchNomain
methodNoCron with a path only.GET
targetNoCron with a path only. The name of the web service to call. Defaults to the only web service, or the one called web.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
instanceNovCPU allocation. shared tiers sleep when idle and wake on request in a few seconds; standard tiers stay running.shared-0.25
scheduleNoCron expression. Required when kind is cron, ignored otherwise.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
environmentNoEnvironment within a Product. Every Product has production; preview and development are optional. pr-<number> is the preview of an open pull request, made and removed by the GitHub integration on Pro.
public_portsNoWeb or worker. Raw TCP to publish, alongside any HTTP a web service serves, on the platform's public address, for protocols the HTTP ingress cannot carry, such as SMTP submission. Only ports 465 and 587 are offered. The process listens on container_port (1024 or above) and clients connect to port. A deploy of a service with public ports stops the old run first, because a host port has one owner, so expect a few seconds of refused connections.
root_directoryNoSubdirectory to build from, for monorepos.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.
build_only_on_changesNoWith root_directory: skip a push-triggered build when the push changed nothing under it. See service_update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly=false, idempotent=false, destructive=false, so the description could carry more. It adds two genuinely useful behavioral facts (automatic framework detection from the repo, and no execution time limit), but says nothing about provisioning side effects, cost, or that a create may need confirmation/dry-run first — all of which live only in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what the tool creates, then two high-value behavioral notes. No filler, no restating of the name or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 18-parameter creation tool with no output schema, the description is quite thin — it omits the dry_run/confirm safety workflow and idempotency guidance that an agent should follow before creating. The rich schema compensates for parameter-level detail, but the operational context for a money-spending create is left to the schema alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 89%, so the schema already documents nearly every parameter in detail. The description adds only indirect meaning: framework detection explains why repo/root_directory/build params rarely need overriding, and the no-time-limit note contextualizes `kind`. No parameter is explained beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ('Adds a web, worker or cron service') and enumerates the kinds, which matches the required `kind` enum. It is clearly a creation tool next to service_update/service_delete, though it never names or contrasts with a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: it tells you to override the detected framework 'when detection is wrong' and that long jobs don't need splitting, which hints at choosing worker/cron appropriately. There is no explicit when-to-use-this-vs-alternatives guidance, no mention of the dry_run/confirm workflow or idempotency_key despite those being central to a create call that spends money.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources