Skip to main content
Glama
EvgenVer

lira-sapr-mcp

by EvgenVer

lira_open_model

Open a .lir model file in LIRA, launching LIRA when necessary, and make the model active.

Instructions

Open a .lir model file in LIRA (starts LIRA if needed) and make it active.

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/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 does disclose two real behavioral traits: LIRA is launched if not running, and the opened model becomes the active one. It does not say what happens to a currently open/active model, how the path is resolved, or what error surfaces if the file is missing.

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?

One sentence, front-loaded with the action and resource, with the side effects in a parenthetical. Nothing wasted and nothing buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the tool is a simple one-parameter operation. Still, for a state-mutating open call with zero annotations, the description should say whether an already-open model is replaced and how failure is reported.

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?

Schema coverage is 0% for the single `path` parameter, so the description must compensate. It adds meaningful constraints — the path points to a .lir model file rather than a model name or directory — but says nothing about relative vs absolute paths or quoting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (open) and resource (.lir model file), plus the two side effects: launching LIRA if needed and making the model active. It is distinguishable from lira_import_text_model and lira_create_model by name alone, though the description never explicitly contrasts them.

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

Usage Guidelines2/5

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

No guidance on when to choose this over lira_import_text_model, lira_create_model, or lira_list_models, and no prerequisites or exclusions. The only hint is the implicit 'you have a .lir file' condition baked into the purpose statement.

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