Skip to main content
Glama
xgr-network

XGR MCP Gateway

Official
by xgr-network

Create XDaLa session start handoff

create_xdala_session_start_handoff

Prepare a read-only session start handoff for xDaLa Workbench, accepting runtime, bundle deploy, or direct requests and returning a Workbench URL for local signing and execution.

Instructions

Prepare and store a read-only xgr-session-start@1 handoff for xDaLa Workbench. Use this tool whenever the user wants to start, run, launch, execute, queue, or prepare an XDaLa session. Use this tool for starting an existing deployed XRC-729/XRC-137 workflow, starting from a runtime XRC-729 orchestration, starting from a bundle deploy result, or importing a canonical xgr-session-start@1 request into xDaLa Manage Sessions. When explaining required input to users, use canonical xgr-session-start@1 terminology: sessions[].orchestration, sessions[].ostcId, sessions[].stepId, sessions[].payload, sessions[].maxTotalGas. Do not ask users for entryStepId; entryStepId is not the Workbench Session Start field. For deployed XRC-729 workflows, first inspect the runtime, identify ostcId and the likely entry step, resolve that step's XRC-137 rule, derive required payload fields from the XRC-137 payload schema, treat fields with defaults as optional, and present required and optional/default fields before creating a handoff. Do not call this tool with guessed payload values. If required start payload fields are missing, first present the required fields to the user and ask for values or explicit permission to use demo values. Only use demo/dummy/example/default values when the user explicitly asks or accepts them. This tool returns a Workbench xdalaUrl such as https://xdala.devnet.xgr.network/session-start/ss_... . The agent must show the returned xdalaUrl to the user. Do not replace the xdalaUrl with a generic /operations/op_... link. The MCP does not sign, submit, or execute. xDaLa Workbench performs local signing and calls xgr_validateDataTransfer. Do not describe the XRC-729 contract owner as the owner of a not-yet-started session; owner()/getOwner() and getExecutorList() identify start-authority roles only. Use sessions[].starterAddress only as an intended starter when explicitly set, and use terminal result data such as result.results[].owner/sessionId/pid for the actual session owner/starter after Workbench start.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYes
networkYes
chainIdNo
orchestrationNo
ostcIdNo
ostcHashNo
bundleDeployHandleNo
requestNo
sessionsNo
stepIdNo
payloadNo
maxTotalGasNo
expiryNo
signingNo
executorGrantsNo
executionNo
uiNo
securityNo
expectedSignerNo
walletAddressNo
summaryNo
ttlSecondsNo
Behavior5/5

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

With no annotations provided, the description carries full burden. It clearly states the tool's read-only nature, that it does not sign/submit/execute, and returns a Workbench xdalaUrl. It also explains limitations and constraints, such as requiring explicit user permission for demo values and correct usage of session ownership terms. This fully discloses behavioral traits.

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 lengthy but front-loaded with the main purpose and usage. Each sentence adds value, though some sections (e.g., detailed instructions about owner()/getOwner()) could be condensed. For the complexity of the tool, the verbosity is justified and well-organized.

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?

Given the complexity (22 parameters, nested objects, no output schema), the description covers main use cases, return value, and agent actions. It addresses user interaction and data derivation. However, it does not fully explain error scenarios or all parameter combinations, leaving some gaps for edge cases.

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 description coverage is 0%, so the description must compensate. It adds meaning by referencing canonical xgr-session-start@1 terminology (sessions[].orchestration, etc.), clarifies that entryStepId is not used, and provides guidance on deriving payload fields. However, it does not detail all 22 parameters (e.g., signing, executorGrants, security), leaving some gaps in semantic clarity for less prominent parameters.

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 begins with a specific verb+resource: 'Prepare and store a read-only xgr-session-start@1 handoff for xDaLa Workbench.' It then enumerates multiple use cases (start, run, launch, etc.) and explicitly distinguishes from sibling tools like get_xdala_session_start_handoff and cancel_xdala_session_start_handoff. The purpose is clear and non-overlapping.

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 provides explicit when-to-use guidance ('Use this tool whenever the user wants to start...') and lists specific scenarios. It also includes exclusions and warnings: 'Do not call this tool with guessed payload values,' 'Do not replace the xdalaUrl with a generic /operations/op_... link,' and advises on when to ask for user input. This clearly helps the agent decide when to invoke this tool over alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xgr-network/xgr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server