Skip to main content
Glama
openLCA MCP Server

openLCA MCP Server

by Below280

olcabasic_reset

Idempotent

Clears an olcaBASIC session's variables, SUBs, folders, scenarios, last results, and CONFIRM DELETE state without touching the openLCA database or closing the connection.

Instructions

Clear the olcaBASIC session's state: variables, SUBs, folders, scenarios, last results and CONFIRM DELETE. The openLCA database is not touched and the connection stays open.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "olcabasic_reset"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare destructiveHint=false and readOnlyHint=false, which could puzzle an agent for a tool that clears state; the description resolves this by scoping the destruction to session state only and confirming the openLCA database is untouched. It also discloses that the connection stays open. It does not add anything about re-initialization or post-reset state beyond the annotation-level detail.

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?

Two sentences, front-loaded with the action and the enumerated targets, followed by the non-effects. Nothing is redundant or padded.

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 zero-parameter, no-output-schema tool, the description covers what is cleared, what is not affected, and the connection's fate — everything an agent needs to call it safely. Nothing material is missing.

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?

The tool takes zero parameters, so baseline is 4. There is no argument meaning to clarify, and the description correctly spends no words on 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?

States a specific verb ("Clear") plus the exact resource (the olcaBASIC session's state) and enumerates the affected items: variables, SUBs, folders, scenarios, last results and CONFIRM DELETE. An agent can distinguish this from olcabasic_help and olcabasic_run without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is only implied: an agent can infer this is the way to wipe session state before a fresh run, but the description never states when to call it versus alternatives or what condition warrants a reset. No exclusions or prerequisites are given.

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

Deploy Server

Other Tools