Skip to main content
Glama
Yike-Ye
by Yike-Ye

origin_labtalk

Run LabTalk scripts in Origin to execute custom operations not covered by dedicated tools. Returns script output, enabling automation of arbitrary Origin commands.

Instructions

Run a LabTalk script inside Origin and return what it printed.

The escape hatch: anything Origin can do from its command window. Prefer a dedicated tool where one exists, because this one cannot check its own work.

returned says the script parsed and dispatched, not that it did anything. A LabTalk script stops at its first bad expression, so when returned is false the last captured line is the last line that ran. Origin's own error text goes to its console and cannot be captured from here.

Scripts that start Python (run -pyf, py.exec) are refused: Origin will not run Python while a command is in flight, and every request here is one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scriptYes
capture_outputNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full burden, and it delivers: it explains that `returned` only means parsed/dispatched, not that anything happened; it discloses that scripts stop at the first bad expression and the last captured line indicates progress; and it warns that Origin's own error text cannot be captured. It also explains the Python refusal with the in-flight-command reason.

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 compact relative to the complexity of an escape-hatch tool, and every sentence contributes: purpose, use preference, return-value meaning, failure behavior, and a critical limitation. The first line is a clear summary, and the details are front-loaded in order of importance.

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?

The description covers use guidance, result interpretation, error behavior, and refused script types, which is strong for a general-purpose tool. The one notable gap is explicit handling of the `capture_output` parameter, especially since the schema provides no explanation for it.

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?

The schema has 0% description coverage, so the description must compensate. It adds meaningful semantics for `script` by explaining execution behavior, failure mode, and Python restriction. However, it never explicitly describes `capture_output` or how it affects the returned result, so the compensation is incomplete.

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: 'Run a LabTalk script inside Origin and return what it printed.' It also positions itself as 'the escape hatch' and tells the agent to prefer dedicated tools, which distinguishes it from the many sibling tools without needing to open their schemas.

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?

It explicitly says to 'prefer a dedicated tool where one exists' because this tool 'cannot check its own work,' giving clear when-to-use versus when-not-to-use guidance. It also states that Python-starting scripts are refused and why, which further constrains appropriate usage.

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/Yike-Ye/OriginLab-MCP'

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