Skip to main content
Glama

Load Variable

workspace_load
Read-onlyIdempotent

Load previously saved calculation result from workspace.

Examples: load_variable("portfolio_return") # Returns saved calculation load_variable("circle_area") # Access across sessions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the variable to load from workspace, e.g., 'circle_area'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
errorNo
topicNo
actionYes
resultNo
successYes
timestampNo
difficultyNo
expressionNo
session_idNo
available_variablesNo

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare the tool as read-only and idempotent, so the description does not need to cover those safety aspects. It adds value by mentioning 'previously saved' and 'Access across sessions,' indicating persistence behavior beyond the schema. No contradictions with annotations are present.

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 concise and front-loaded, with a single defining sentence followed by two helpful examples. Every sentence earns its place, and the overall length is appropriate for the tool's simplicity.

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?

For a simple load tool with one parameter, an output schema, and annotations covering read-only and idempotent behavior, the description is complete. It explains the tool's purpose, provides usage examples, and notes cross-session access. No critical missing information is apparent.

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 already documents the only parameter, 'name,' with a clear description and example. The tool description also provides examples ('portfolio_return', 'circle_area'), reinforcing the expected format. Since schema coverage is 100%, the description adds no fundamentally new semantic information beyond what the schema already provides, but it does not need to.

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 clearly states the tool's function: 'Load previously saved calculation result from workspace.' It uses a specific verb (load) and resource (variable from workspace), and the examples ('load_variable("portfolio_return")') reinforce its purpose. It also distinguishes itself from the sibling tool workspace_save by focusing on retrieving saved results.

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 context: this tool is for retrieving previously saved calculation results, and the examples show typical variable names. It implies usage after workspace_save and across sessions, though it does not explicitly state when not to use it or name alternatives. The context is sufficient for an agent to choose this tool over calculation tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4/5.0
Disambiguation4/5

Most tools are clearly distinct (calculation, interest, stats, units, matrix ops, plotting, workspace). However, plot_function, plot_line_chart, and plot_financial_line could be confused since they all produce line-like plots, though descriptions note their specific use cases.

Naming Consistency5/5

Tool names follow a clear, consistent prefix pattern: calc_*, matrix_*, plot_*, and workspace_*. This makes it easy to infer related functionality at a glance.

Tool Count4/5

17 tools is on the higher side but acceptable for the wide math scope (basic arithmetic, statistics, units, matrices, plotting, workspace). Each tool serves a distinct purpose, though a couple like plot_line_chart and plot_function could potentially be consolidated.

Completeness4/5

Core mathematical operations are well covered: expression evaluation, statistics, unit conversion, matrix operations, and common plot types. Minor gaps exist (e.g., no bar chart, no equation solving), but these are not critical for the server's apparent educational purpose.