Skip to main content
Glama
Derzkiyboomchik

SKILL.state MCP Runtime

Initialize a SKILL.state session

initialize_skill

Start a skill execution session: store the immutable specification and initial state, then receive the boot prompt that becomes the LLM's entire context for step-by-step execution.

Instructions

Create a new SKILL.state execution session. Stores the immutable skill specification P and the initial execution state Σ_0, then returns the initial prompt payload (P, Σ_0, boot observation). From this point on, the LLM must treat that payload as its ENTIRE context — there is no message history. Advances happen exclusively through execute_step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesUnique identifier for this skill session, e.g. 'triage-ticket-1042'. Must not collide with an existing active session.
environmentNoExecution environment: 'mock' (default generic mock) or 'warehouse' (SkillExecBench Environment 1).mock
state_schemaNoOptional domain schema for execution state Σ (arXiv:2608.26263 §3.1, §7). Can specify required keys (with expected primitive types like 'string', 'number', 'boolean', 'object', 'array') and disallowed unexpected keys. If Σ violates this schema, the step is rolled back.
initial_stateNoΣ_0 — the starting structured execution state as a JSON object. Defaults to an empty object. This is the ONLY state the LLM will ever see.
skill_specificationYesP — the IMMUTABLE procedural skill specification. A markdown instruction document or a structured JSON object. It is deep-frozen by the runtime and returned verbatim in every subsequent turn payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It discloses the stateful side effect of creating a session, storage of immutable P and initial state Σ_0, the returned initial payload, and the lack of message history. This goes beyond the schema and materially changes how an agent should treat the tool's effects.

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

Conciseness5/5

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

The description is two sentences with no filler. The first sentence establishes the action and result, and the second provides the critical behavioral constraint that the agent must follow. Every sentence earns its place and the most important information is front-loaded.

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 there is no output schema and no annotations, the description covers the essential operational facts: what is created, what is stored, what is returned, and how the session should be advanced. The rich input schema handles parameter-level details, while the description supplies the workflow context an agent needs to invoke this tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantic context by linking skill_specification to 'immutable skill specification P' and initial_state to Σ_0. It also emphasizes that this payload becomes the entire conversational context, which clarifies the significance of those parameters beyond their schema descriptions.

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 opens with a specific verb and resource: 'Create a new SKILL.state execution session.' It clearly explains the tool's role as the session initializer, distinct from subsequent advancement. It also names what the tool returns and what it stores, making its purpose unambiguous.

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?

The description provides clear usage context by stating that after initialization the payload is the LLM's ENTIRE context and 'Advances happen exclusively through execute_step.' This explicitly routes subsequent behavior to a sibling tool. It does not discuss inject_observation, parse_turn_response, or close_session, but for initialization the key alternative is covered.

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