Skip to main content
Glama

moho_apiInspect

Inspect live Moho 14.4 Lua classes, methods, tolua++ properties, and constants to discover available scripting APIs and locate objects such as MOHO, LM, document, layer, and bones.

Instructions

Inspect live Lua 5.4 classes, methods, tolua++ .get/.set properties, and constants exposed by Moho 14.4 (e.g. MOHO, LM, moho, document, layer, M_Bone, M_Mesh).

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": "moho_apiInspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return (default: 250)
filterNoOptional case-insensitive substring filter
targetNoGlobal or MOHO/LM class name (default: 'MOHO')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.5/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 behavioral burden. "Inspect" and "live" imply a read-only view of runtime state, which is helpful, but the description never states that it is non-mutating, does not describe the shape of returned entries, and gives no hint about truncation or how the default limit of 250 interacts with large classes.

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?

A single front-loaded sentence with no filler. The parenthetical example list is long but each item is a distinct target family, so it earns its place; slight tightening would still improve it.

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?

For a simple three-optional-parameter read tool with no output schema and no annotations, the description covers scope and target vocabulary. It stops short of telling the agent what an entry looks like or how to interpret the returned data, which matters for a reflection tool whose output is untyped and free-form.

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%, so the baseline is 3; the description adds real value by naming concrete valid target values (MOHO, LM, moho, document, layer, M_Bone, M_Mesh) that go beyond the schema's terse "Global or MOHO/LM class name." It still says nothing about how filter interacts with target resolution, but the target vocabulary expansion is genuinely useful.

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 uses a specific verb ("Inspect") on a specific resource ("live Lua 5.4 classes, methods, tolua++ .get/.set properties, and constants exposed by Moho 14.4") and enumerates concrete targets. It is clear what the tool returns conceptually. It does not differentiate from siblings, though the sibling list is dominated by unrelated action/animation tools, so the risk of confusion is low.

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 is implied rather than stated: the examples of inspectable targets (MOHO, LM, moho, document, layer, M_Bone, M_Mesh) suggest discovery of an API surface before calling other tools. There is no explicit when-to-use, no exclusion, and no mention of a drill-down workflow (e.g., inspect a class, then inspect its methods).

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