Skip to main content
Glama
miyamamoto

JVLink MCP Server

by miyamamoto

get_important_features

Identify key features for horse racing prediction, with explanations and practical usage methods to improve race analysis.

Instructions

競馬予測で重要な特徴量の知見を提供

Returns:
    重要特徴量のリスト、説明、での活用方法

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'get_important_features' MCP tool. Returns important feature insights for horse racing predictions, including features, combinations, count, and references from FEATURE_IMPORTANCE_DATA.
    @mcp.tool()
    def get_important_features() -> dict:
        """競馬予測で重要な特徴量の知見を提供
    
        Returns:
            重要特徴量のリスト、説明、での活用方法
        """
        return {
            "features": FEATURE_IMPORTANCE_DATA["important_features"],
            "feature_combinations": FEATURE_IMPORTANCE_DATA["feature_combinations"],
            "total_features": len(FEATURE_IMPORTANCE_DATA["important_features"]),
            "references": FEATURE_IMPORTANCE_DATA["references"]
        }
  • Registration of the tool using the @mcp.tool() decorator on the get_important_features function.
    @mcp.tool()
  • Return type schema: dict with keys 'features' (list), 'feature_combinations' (list), 'total_features' (int), 'references' (list). No input parameters.
    """競馬予測で重要な特徴量の知見を提供
    
    Returns:
        重要特徴量のリスト、説明、での活用方法
    """
    return {
        "features": FEATURE_IMPORTANCE_DATA["important_features"],
        "feature_combinations": FEATURE_IMPORTANCE_DATA["feature_combinations"],
        "total_features": len(FEATURE_IMPORTANCE_DATA["important_features"]),
        "references": FEATURE_IMPORTANCE_DATA["references"]
    }
  • Data loading helper: loads FEATURE_IMPORTANCE_DATA from data/feature_importance.json file, with fallback to empty defaults if file not found.
    _feature_importance_path = DATA_DIR / "feature_importance.json"
    if _feature_importance_path.exists():
        with open(_feature_importance_path, "r", encoding="utf-8") as f:
            FEATURE_IMPORTANCE_DATA = json.load(f)
    else:
        import logging
        logging.getLogger(__name__).warning(
            f"feature_importance.json not found at {_feature_importance_path}"
        )
        FEATURE_IMPORTANCE_DATA = {
            "important_features": [],
            "feature_combinations": [],
            "references": []
        }
Behavior2/5

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

The description lacks behavioral details such as whether the tool accesses a database, caches results, or has any side effects. With no annotations, this is a significant gap.

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?

The description is concise with two sentences, but it could be more informative. It front-loads the purpose but lacks detail.

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?

Given no output schema, the description should provide more details about the returned list and how to use them. It mentions 'list, explanation, how to use' but lacks specifics.

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?

There are no parameters, so the schema coverage is 100%. The description adds minimal context about the return value, which is adequate for a zero-parameter tool.

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 clearly states that the tool provides insights on important features for horse racing prediction. However, it does not differentiate from sibling tools like 'get_feature_by_category', which might serve a similar purpose.

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 usage guidelines are provided. The description does not specify when to use this tool over alternatives, nor does it mention any prerequisites or context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/miyamamoto/jvlink-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server