Skip to main content
Glama

create_entity

Creates a single Albato Builder resource, such as an action, trigger, or enum, validating the body against its contract schema first. Use dryRun to validate without creating anything.

Instructions

Create an entity. The body is validated against the contract schema before sending. One entity, one call; from three creations in a row (list items, fields, mappings) use create_entities, which also creates a parent and its children at once. To make a copy of a similar one, copy_entity is cheaper. The schema of a specific resource is available via describe_resource.

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": {
      "resource": "<resource>",
      "body": "<body>"
    },
    "name": "create_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body according to the resource schema
appIdNoApp ID. Not needed only for resource: "apps"
dryRunNoOnly validate and return the body, without creating anything
resourceYesBuilder resource the operation is performed on
confirmedNoThe user agreed to what the refusal without confirmed warned about
parentIdsNoParent IDs: {actionId}, {cfsId}, {enumId}, {wizardId}, {creatorId}
versionIdNoVersion ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one
workspaceIdNoOnly for resource: "apps" in an account with several workspaces (list_apps shows them): where to create the app. Defaults to the home one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral load. It usefully discloses that the body is validated against the contract schema before any send, but says nothing about the refusal/confirmed confirmation flow implied by the schema, permissions, idempotency, or rate limits, leaving meaningful behavioral gaps for a mutation tool.

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?

Four tight sentences with no filler, and the core action is front-loaded before the sibling routing. Slightly dense and crammed into one paragraph, but every sentence carries routing or behavioral information.

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?

For an 8-parameter, nested-body, unannotated mutation tool with no output schema, the definition covers the hardest correctness question (how to shape and how to choose an alternative). It leaves the refusal/dryRun workflow and the private-version writability constraint to the schema rather than integrating them, which keeps it short of fully self-contained.

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%, so every parameter is already documented structurally; the description adds only the indirect pointers (describe_resource for body shape, the multi-create case for create_entities). It does not explain the semantics of dryRun, confirmed, or versionId beyond what the schema text already says, so the 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 ("Create an entity") and immediately differentiates it from siblings: creation of a parent plus children belongs to create_entities, and duplication belongs to copy_entity. An agent can route correctly without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use/when-not-to-use rules: one entity per call, switch to create_entities after roughly three related creations (list items, fields, mappings), use copy_entity for a near-duplicate, and consult describe_resource for the body schema. Alternatives are named with the condition that selects each.

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