Skip to main content
Glama

do_action

Triggers any Stellarium action by ID for behavior not covered by dedicated tools. Use it as an escape hatch; boolean actions toggle when invoked.

Instructions

Trigger any Stellarium action by its id — the escape hatch for behaviour not covered by a dedicated tool. Boolean actions toggle. Prefer toggle_display_feature for the common display toggles. Unknown ids are ignored by Stellarium without an error.

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": {
      "id": "<id>"
    },
    "name": "do_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAction id (e.g. 'actionShow_Nebulas', 'actionGoto_Selected_Object', 'actionSet_Full_Screen_Global')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations to lean on, the description carries real weight: it discloses that boolean actions toggle, that unknown ids fail silently with no error, and that this is a fallback path. That silent-failure note is exactly the kind of behaviour an agent needs. It stops short of saying what a successful call returns or warning that arbitrary actions (potentially destructive ones) can be triggered.

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?

Three tight sentences, front-loaded with the verb and resource, then usage routing, then behavioural caveats. Every sentence carries distinct, load-bearing information with no padding.

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 one-parameter escape-hatch tool with no annotations and no output schema, this covers the essentials: what it does, when to prefer a sibling, and the silent-ignore edge case. Missing only return-value expectations and any caution about invoking arbitrary actions, which keeps it from a 5.

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?

Schema coverage is 100% and the single id parameter carries examples, so the baseline is 3. The description earns one more point by explaining that the action's type changes semantics — boolean actions toggle rather than fire once — and that unrecognized ids are silently ignored, which is crucial meaning the schema does not convey.

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 names a specific verb ("Trigger") and resource ("any Stellarium action by its id") and frames the tool's role precisely as "the escape hatch for behaviour not covered by a dedicated tool." It also explicitly separates this tool from toggle_display_feature, so an agent can distinguish it from the sibling without opening a schema.

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

Usage Guidelines5/5

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

It states both when to reach for this tool (behaviour with no dedicated tool) and when not to ("Prefer toggle_display_feature for the common display toggles"), naming the alternative directly. Nothing about tool selection is left to inference.

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