Skip to main content
Glama

mmm_get_model_file

Read-only

Retrieves the PMX file path or ZIP archive source for a selected MikuMikuMoving model, including the filename inside the archive when applicable.

Instructions

モデルを読み込んだファイル(PMX)の場所。zip の中から読んだモデルは、file が zip・file_in_archive が中の名前。

公開の口には無いので MMM の中(Controller.ObjectList[ID].modelfile.FileName)を読む。ボーンの番号は PMX と同じ。

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

Input Schema

NameRequiredDescriptionDefault
modelNoモデルの番号(mmm_list_models の index)。省くと MMM で選択中(アクティブ)のモデル

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the safety profile is covered. The description still earns credit for disclosing non-obvious behavior: zip-loaded models return the archive in 'file' and the inner name in 'file_in_archive', and the value comes from MMM's internal Controller.ObjectList state rather than a public API.

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

Conciseness3/5

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

The purpose and the zip handling are front-loaded and waste no words. The trailing sentence about bone numbers matching PMX is off-topic for a file-location tool and adds confusion rather than value, costing structure points.

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?

An output schema exists, so return values need not be re-explained, yet the description still clarifies the file/file_in_archive pairing that the agent would otherwise have to infer. For a single-parameter read tool with full annotations, only the missing sibling routing keeps it from a 5.

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 100% and the 'model' parameter already documents that it is an index from mmm_list_models and defaults to the active model. The description adds only the internal Controller.ObjectList[ID] path, which restates the index relationship without new syntax or edge-case meaning, so the baseline 3 applies.

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 first sentence names the specific resource: the path of the PMX file the model was loaded from, and it explains the zip/file_in_archive split. This is a concrete verb+resource, but the description never contrasts it with mmm_list_models or any other sibling, so an agent must infer the distinction from the parameter schema.

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 explicit statement of when to call this instead of mmm_list_models or other model-inspection tools. The remark that the value is 'not on the public API' explains the implementation route rather than the usage conditions, leaving selection guidance to inference.

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