Skip to main content
Glama

solari_exec

Run a shell command in a session. Returns { stdout, stderr, exitCode }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sessionId": "<sessionId>",
      "command": "<command>"
    },
    "name": "solari_exec"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and discloses very little: it does not say whether execution blocks, what happens with long-running or interactive commands, whether there is a timeout, or how failures are surfaced beyond the returned exitCode. The return-shape line ({ stdout, stderr, exitCode }) is genuinely useful given there is no output schema, but the execution semantics of a shell tool remain opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the action front-loaded and the return contract immediately after; nothing is padded or redundant. The structure is maximally efficient, though the brevity is part of why behavior and parameters go unexplained.

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

Completeness2/5

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

This is a powerful shell-execution tool with no annotations, no output schema, and zero schema coverage on its two parameters, and the description does not close any of those gaps. It says what comes back but not how the call behaves, what it needs beforehand, or how it relates to the command lifecycle tools beside it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description must compensate and it largely does not. 'In a session' weakly signals sessionId, but nothing explains where a sessionId comes from or that command is executed as a single string in that session context.

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?

The description gives a specific verb and resource ('Run a shell command') plus scope ('in a session'), so an agent knows exactly what the tool does. It does not name or differentiate against near siblings such as solari_command_status or solari_command_kill, which is the only thing keeping this from a 5.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g. that a session must first be established), and no routing to alternatives like the status or kill tools. The only hint of context is the phrase 'in a session', which the agent must interpret on its own.

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.

Resources