Skip to main content
Glama

moodle_check_site

Read-only

Verify whether a URL is a supported Moodle site without logging in, so you can confirm compatibility before connecting or retrieving course data.

Instructions

Check without logging in whether a URL is a Moodle site this server can use.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "moodle_check_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesSite URL, for example https://do.ipo.kpi.ua

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds genuine context beyond them by stating no login is required and that the result is scoped to sites "this server can use" (a compatibility, not just reachability, check). It still does not say what a positive or negative outcome looks like, which matters for a check tool with no output schema.

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?

A single, front-loaded sentence with no filler. Every clause (no login, Moodle detection, server compatibility) contributes distinct information.

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 simple one-parameter read-only probe with a fully documented schema, the definition covers purpose, auth requirements, and scope. The only real gap is the shape of the result (boolean vs. structured reason) for a tool lacking an output schema, which is a minor omission rather than a blocking one.

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?

There is a single required url parameter with 100% schema description coverage and a concrete example, so the schema carries the full semantic load. The description adds no URL format or normalization guidance beyond what the schema already provides; 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 description pairs a specific verb ("Check") with the resource ("whether a URL is a Moodle site this server can use") and adds a meaningful scope qualifier about server compatibility. It implicitly separates this from moodle_login and moodle_list_sites by stating it works without logging in, though it never names those siblings.

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?

"without logging in" implies a pre-authentication validation context, which an agent can infer is useful before calling moodle_login. However, there is no explicit statement of when to prefer this over moodle_list_sites or what to do when the check fails, leaving usage guidance implied rather than stated.

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