Skip to main content
Glama

UXON AI

courses_metrics_get

Read-onlyIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read actual Course dashboard daily/per-variant activity and channel data for days 1-365. Daily enrollments mean people with lesson activity, not whole-Course enrollment totals.

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": {
      "siteId": "<siteId>",
      "courseId": "<courseId>",
      "days": "<days>"
    },
    "name": "courses_metrics_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
courseIdYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesExact existing Course dashboard endpoint. chartData is per-day/per-variant progress/completion data; enrollments count people with lesson progress on that day. Channel conversions/enrollments are the endpoint's attributed learner activity. Do not infer distinct whole-Course totals, custom dates/timezones, monetary revenue, unique learners across days or missing metric zeros.
scopeYes
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile needs no restatement. The description does add genuinely useful semantics beyond the annotations' title text by defining what a 'daily enrollment' counts (people with lesson activity, not whole-Course totals), but it says nothing about pagination, aggregation granularity, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the prerequisite front-loaded, so structure is fine. However, the second sentence is essentially verbatim the annotation title, which duplicates structured data and spends tokens without adding information.

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?

The tool takes four parameters, three of them required, yet the description clarifies none of the identifiers an agent must supply, and it never explains what the per-variant activity versus channel data split means for interpreting results. With an output schema present the return shape need not be described, but the input-side gaps leave the definition under-specified for a metrics call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% (only teamId is documented), so the description should compensate and does not: siteId, courseId, and their relationship, and the teamId scoping behavior, are left unexplained. The only parameter-related detail, the 1-365 day range, merely repeats the schema's minimum and maximum and omits the default of 30.

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 names a concrete verb and resource: reading Course dashboard daily/per-variant activity and channel data over a 1-365 day window. It is clear enough to know this returns metrics rather than Course content, but it gives no differentiation from near-siblings like courses_trends_get, courses_channels_get, or courses_activity_list, whose names suggest heavily overlapping data.

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?

Usage is only implied by the scope statement (daily/per-variant activity and channel data for days 1-365); there is no explicit when-to-use, when-not-to-use, or named alternative, despite many sibling metrics tools that likely compete for the same request. The prerequisite to read agent.instructions.get first is a procedural requirement rather than selection guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources