Skip to main content
Glama

Create a workflow (Nomid staff)

create_workflow
Destructive

Nomid staff only (Nomid system admins; refused for everyone else). Creates a workflow in one company: an automatic rule Nomid runs on every status report of its Android Management devices. Use company to name the company; another customer's needs an "All Nomid customers" connection. Read the company's workflows with read_workflows first, so as not to add a second rule doing the same thing.Actions: force-password-on-enrollment sets params.password as the screen lock of a device right after it enrolls (within params.secondsAfterEnrollment, default 300); changed-to-policy sets it when a device moves from a policy whose path name contains params.previousPolicyPathNameContains to one containing params.currentPolicyPathNameContains; sim-changed tags a device sim-changed or sim-removed. Conditions compare text (policy path names, the status name, the device path name) and all must match; with none, the workflow runs on every enrolled device of the company. For force-password-on-enrollment, name the policy a device enrolls into with policyPathNameChangingTo (it has no policyPathName yet). params.password needs 6 characters or more, because Android 14 and later refuse a shorter PIN; params.shortPasswordAcknowledged true accepts a shorter one only for a fleet that will never run Android 14. Unknown keys, fields, action keys and params are refused. This changes a real fleet with no approval step in Nomid: show the user the workflow you will write (without repeating the PIN back if they did not ask) and get an explicit yes first. The answer shows the saved workflow without its password.

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": {
      "name": "<name>",
      "enabled": "<enabled>",
      "trigger": "<trigger>",
      "action": "<action>"
    },
    "name": "create_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesShort name, at most 20 characters.
actionYesWhat the workflow does: the actions to run and the params they read.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
enabledYesWhether it runs from now on.
triggerYesWhen the workflow runs: on every status report of a device in the company whose conditions all match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

The annotations already mark this as destructive, non-idempotent, and open-world, and the description adds crucial operational context: there is no approval step in Nomid, it changes a real fleet, the saved workflow is returned without its password, unknown keys and params are refused, and Android 14 password restrictions apply.

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 dense and front-loads authorization and purpose, and almost every sentence carries operational weight for a destructive nested-schema tool. It is slightly run-on in the 'Actions:' paragraph and repeats some password constraints already present in the schema, so it is highly informative but not maximally concise.

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

Completeness5/5

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

Given the complex nested input schema, destructive annotations, and no output schema, the description covers authorization, scoping, action semantics, condition semantics, confirmation requirements, and return-value limitations. An agent has enough context to decide whether and how to call it correctly.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds substantial meaning beyond the schema by mapping each action key to the params it reads, explaining condition fields and that all conditions must match, and noting the action-specific requirement for policyPathNameChangingTo on force-password-on-enrollment.

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 first sentence gives a specific verb and resource: 'Creates a workflow in one company: an automatic rule Nomid runs on every status report of its Android Management devices.' It also distinguishes the tool from reading workflows by naming read_workflows as the inspection sibling.

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?

The description clearly states this is Nomid staff only and refused for everyone else, tells the caller to read existing workflows with read_workflows first to avoid duplication, explains the company scoping and cross-customer connection behavior, and requires showing the user the workflow and getting an explicit yes before writing.

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