Count courses
axislms_count_coursesNumber of active online courses. GET /courses/count/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
axislms_count_coursesNumber of active online courses. GET /courses/count/.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds the useful qualifier that only active online courses are counted, but does not mention return type, authentication, or scoping behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two short fragments with no wasted language. The purpose is front-loaded, followed by the relevant endpoint path.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter count tool with annotations covering safety, the description is nearly sufficient. A minor gap is that it does not state the return type, such as an integer count, but the operation is simple enough that this is not a major omission.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so there is no parameter semantics burden on the description. The empty schema makes the no-argument invocation clear, and the baseline for zero parameters is a 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the resource and scope: a count of active online courses. It distinguishes the count operation from sibling listing tools like axislms_list_courses, though it does not explicitly name the alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the count-focused wording: use this when only a number is needed rather than a course list. However, the description gives no explicit when-to-use or when-not-to-use guidance versus axislms_list_courses.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.