Skip to main content
Glama

build_import_services

Destructive

Imports platform services into a project (for example 'workflows', 'email', 'stripe_checkout', 'cart', 'order', 'payment') so the app can call them and its event-bound workflows can run, using this connection's credential. Inputs: project_uuid, service_ids. Returns each service's exact outcome: imported, already imported, or failed with the platform's reason (schema_drift, schemas_failed, error_code, HTTP status). A failed import is reported as failed, and an app whose required service failed to import does not work. Keys are set afterwards with build_configure_services.

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": {
      "project_uuid": "<project_uuid>",
      "service_ids": "<service_ids>"
    },
    "name": "build_import_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_idsYesCatalog service ids to import, e.g. ['workflows','email','stripe_checkout'] (exact ids from build_list_capabilities).
project_uuidYesProject UUID (from build_list_projects or build_create_project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so mutation is covered structurally. The description adds genuinely new context beyond that: it runs with 'this connection's credential', reports per-service outcomes, surfaces platform failure reasons (schema_drift, schemas_failed, error_code, HTTP status), and warns that an app whose required service failed does not work.

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 purpose and consequences are front-loaded and the closing sentence about build_configure_services is well placed. There is some redundancy — 'Returns each service's exact outcome: imported, already imported, or failed' is immediately followed by 'A failed import is reported as failed' — which 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?

With no output schema, the description usefully documents the return shape (per-service outcome plus failure reasons), the credential used, and the downstream step. It is close to complete for a two-parameter mutation, though it leaves unaddressed whether imports are additive versus replacing existing services and what permission the credential needs.

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 coverage is 100% and both parameters are documented in-line with their sources, so the schema already carries parameter meaning. The description restates the parameter list ('Inputs: project_uuid, service_ids') and adds only an example id list, which the schema also provides — baseline 3 applies.

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?

States a specific verb and resource ('Imports platform services into a project') and backs it with concrete service examples ('workflows', 'email', 'stripe_checkout', 'cart', 'order', 'payment'). The purpose is further sharpened by contrast with the sibling tool that finishes the job ('Keys are set afterwards with build_configure_services').

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?

Gives clear sequencing context: service ids must come from build_list_capabilities, project_uuid from build_list_projects, and credential configuration happens later via build_configure_services. It does not state when an agent should avoid or repeat this call (for example, behaviour on re-running an already-imported service beyond the 'already imported' outcome), so it stops short of full exclusions.

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.