Skip to main content
Glama

save_scores

Save scoring results for GitHub hackathon submissions to persistent storage, updating existing entries and adding new ones to maintain a centralized scoring record.

Instructions

Save scoring results to data/scores.json.

Existing scores for the same Issue are overwritten (idempotent).
New Issues are appended.

Args:
    scores: List of scoring result dicts. Each must contain:
        - issue_number (int)
        - project_name (str)
        - track (str)
        - criteria_scores (dict[str, int]): per-criterion scores (1-10)
        - weighted_total (float): weighted total (0-100)
        - evidence (dict[str, str]): per-criterion evidence citations
        - confidence (str): 'high', 'medium', or 'low'
        - red_flags_detected (list[str]): red flag signals found
        - bonus_signals_detected (list[str]): bonus signals found
        - strengths (list[str])
        - improvements (list[str])
        - summary (str)

Returns:
    Summary dict (saved_count, updated_count, total_in_store, file_path).

Raises:
    OSError: If disk write fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scoresYes

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/aktsmm/FY26_techconnect_saiten'

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