Skip to main content
Glama
youngminsw

Origin Pro MCP Server

by youngminsw

get_labtalk_variable

Retrieve the value of a LabTalk variable from Origin Pro for use in data analysis and scripting workflows.

Instructions

Get the value of a LabTalk variable.

Gotchas: numeric variables that don't exist read as 0, and variables declared with a type (e.g. int x = 5) are script-local — they vanish when the script ends. Use untyped assignment (x = 5) in run_labtalk if you want to read the value back later.

Args: name: Variable name. Use $ suffix for strings (e.g., 'str$')

Returns: Variable value as string

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, description carries full burden. It discloses that missing numeric variables return 0 and typed variables are script-local. It also states return type. However, it doesn't cover behavior for missing string variables or error cases.

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?

Extremely concise: one-line purpose, gotchas presented clearly, then args/returns. Every sentence adds value, no wasted words.

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?

For a simple tool with one parameter and output schema, description covers purpose, parameter semantics, return type, and behavioral gotchas. Minor gaps: missing behavior for non-existent string variables. Still adequate.

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?

Despite 0% schema coverage, the description adds critical details: the naming convention ($ suffix for strings) and example ('str$'). This clarifies parameter usage far beyond the raw schema.

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 clearly states the tool retrieves the value of a LabTalk variable. It differentiates from siblings like run_labtalk which executes scripts, and set_* tools which modify variables.

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?

Gotchas provide guidance on when to use this tool: it notes that numeric non-existent variables read as 0 and typed variables vanish, advising to use untyped assignment in run_labtalk for persistence. While not explicitly stating when-not, it implies using run_labtalk for setting persistent variables.

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

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/youngminsw/Origin-Pro-MCP'

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