Skip to main content
Glama

laya_start_sequence

Starts a durable observe-decide-act loop for coordinating multiple dependent decisions toward one goal, returning a sequence ID and revision without executing or preplanning future actions.

Instructions

Start durable observe-decide-act loop. Use when multiple dependent decisions advance one goal. Returns sequence_id and revision; never executes or preplans future actions.

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": {
      "goal": "<goal>"
    },
    "name": "laya_start_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
modelNoauto
max_stepsNo
min_confidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully states that the tool returns sequence_id and revision and that it never executes or preplans future actions, but it omits other important behavior such as persistence guarantees, idempotency, authorization needs, or side effects.

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 core action before usage guidance and return behavior. Every sentence contributes, though the abstract phrasing could be slightly sharper.

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

Completeness2/5

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

For a four-parameter loop-starting tool with no annotations and no output schema, the description is too thin. It mentions sequence_id and revision but does not explain the remaining parameters or enough of the loop lifecycle to let an agent invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for four undocumented parameters. It implies the goal concept but adds no meaning for model, max_steps, min_confidence, or the goal parameter itself.

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 description names a specific action (start) and resource (a durable observe-decide-act loop), which distinguishes it from siblings like laya_close_sequence and laya_get_sequence. The phrase 'observe-decide-act loop' is somewhat abstract, but it still communicates the core purpose clearly.

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 gives an explicit usage condition: 'Use when multiple dependent decisions advance one goal.' This tells the agent when starting a sequence is appropriate, though it does not name alternatives or state when not to use it.

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