Skip to main content
Glama

service_add

Create a Service. Give image to run a container image, or repository to build a GitHub repository. Staged: it runs after the next Deploy. This call asks no human.

Input Schema

NameRequiredDescriptionDefault
nameYesNew Service name, unique in the Environment.
imageNoContainer image to run. Give image or repository.
branchNoBranch to build, only with repository. Default: the repository's default branch.
projectNoProject name.
repositoryNoGitHub repository owner/name to build. Give image or repository.
environmentNoEnvironment name, e.g. staging.
expect_revisionNoWrites only if the place is still at this revision.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a write operation that is not read-only and not destructive. The description adds meaningful context beyond that: creation is staged and will run after the next Deploy, and the call requires no human approval. It does not discuss permissions or return behavior, so a 4 is appropriate.

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

Conciseness4/5

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

The description is short and front-loaded with the primary action. Each sentence adds useful information, though the phrasing "Give image to run a container image" is slightly awkward and could be tightened.

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

Completeness4/5

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

Given 7 parameters with full schema descriptions, annotations covering the mutation profile, and no output schema, the description is largely complete. It covers the key behavioral traits but does not explain result handling or optional parameter defaults, which are adequately covered in the schema.

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 100%, so parameter semantics are already well documented by the schema. The description reinforces the image-versus-repository choice but does not add syntax or defaulting details beyond what the schema provides, making the baseline 3 correct.

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

Purpose5/5

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

The description uses a specific verb and resource: "Create a Service." It also clarifies the two creation modes, container image versus GitHub repository build, which distinguishes the tool from sibling operations like service_update or service_remove.

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

Usage Guidelines4/5

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

It explicitly tells the caller to supply either image or repository depending on the desired source, which is useful usage guidance. It does not name when-not-to-use conditions or point to alternative sibling tools, so it falls short of a 5.

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.