Skip to main content
Glama

sync_monash_data

Refreshes local Moodle and Ed data and full-text indexes when content is outdated or a refresh is requested, and avoids starting duplicate syncs while one is already running.

Instructions

刷新 Moodle/Ed 本地数据和全文索引;用户要求刷新或数据过旧时用。诊断错误用 get_monash_status;已在同步时不会重复启动。

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

Input Schema

NameRequiredDescriptionDefault
get_skippedNo补下跳过文件的编号,逗号分隔或 all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.16.0
    • addedInput schema / properties / get_skipped
      Added value: +{
      +  "description": "补下跳过文件的编号,逗号分隔或 all",
      +  "type": "string"
      +}
  2. Addedv0.1.4

TDQS

A4.4/5.0
Behavior4/5

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

With readOnlyHint=false, the annotations do not disclose the concurrency guard that the description adds: a sync already in progress will not be started again. That is genuinely useful behavioral context beyond the structured data. It stops short of saying whether the call blocks until completion, how long a sync takes, or what it reports back, so it is not a 5.

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 short clauses, front-loaded with purpose, then the usage trigger, then the alternative and the idempotency note. No filler and nothing buried.

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 single-optional-parameter refresh action with no output schema, the definition covers purpose, trigger, alternative, and re-entrancy. The remaining gap is operational detail — expected duration, whether it is blocking, and what the caller learns afterwards — which an agent would want before invoking a long-running refresh.

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 there is only one optional parameter (get_skipped), so the schema does the documentation work. The description never explains what the skipped-file numbers refer to or how to use them, so it adds no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb (刷新/refresh) and concrete resources (Moodle/Ed local data plus full-text index), which is more precise than the tool name alone. It also implicitly separates itself from the status/diagnostic sibling, so an agent can pick it out without inspecting the 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?

Gives explicit trigger conditions — the user asks for a refresh, or the data is stale — and routes error investigation to get_monash_status instead. That is a clear when-to-use plus a named alternative, which is rare.

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