Skip to main content
Glama

Nabras: Saudi Qudrat (GAT) exam prep

Weighted admission score | احسب نسبتي الموزونة

calculate_mawzona

Answers «احسب نسبتي الموزونة», «كم موزونتي؟», «كيف أحسب النسبة الموزونة؟». Calculates the Saudi university weighted admission score from the high-school %, Qudrat and Tahsili scores (each 0 to 100) and the university's weights (they must sum to 100). Tahsili is optional (weight 0).

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": {
      "highschool": "<highschool>",
      "qudrat": "<qudrat>",
      "w_highschool": "<w_highschool>",
      "w_qudrat": "<w_qudrat>"
    },
    "name": "calculate_mawzona"
  }
}

Input Schema

NameRequiredDescriptionDefault
qudratYesدرجة القدرات | Qudrat score
tahsiliNoدرجة التحصيلي (اختياري) | Tahsili score (optional)
w_qudratYesوزن القدرات % (مثال 30) | Qudrat weight %
w_tahsiliNoوزن التحصيلي % (مثال 40، أو 0) | Tahsili weight %
highschoolYesنسبة الثانوية % | high-school %
w_highschoolYesوزن الثانوية % (مثال 30) | high-school weight %

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses meaningful constraints: scores must be 0–100, the university weights must sum to 100, and Tahsili is optional with weight 0. It does not state what happens when weights fail to sum to 100 or what the return value looks like, which are the remaining gaps.

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

Conciseness4/5

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

Two compact sentences with the trigger phrases front-loaded and the input constraints following. The three equivalent Arabic phrasings are slightly redundant but useful for intent matching, so the text is efficient overall.

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 six-parameter pure-calculation tool with no annotations and no output schema, the description covers the inputs, the optionality of Tahsili, and the weight-sum constraint. It leaves the output format and the failure mode for invalid weights unstated, which are minor but real omissions.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description adds a cross-parameter constraint absent from the schema — that the weights must sum to 100 — and clarifies that Tahsili can be dropped by setting its weight to 0. The per-parameter Arabic/English labels are already covered by the schema, so this is a modest but real addition.

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 and resource — calculating the Saudi university weighted admission score — and lists the exact user phrasings («احسب نسبتي الموزونة», «كم موزونتي؟», «كيف أحسب النسبة الموزونة؟») that should trigger it. The sibling tools are unrelated exam-info/stat tools, so no sibling differentiation is needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trigger phrases give clear implicit guidance on when to invoke the tool, and the description scopes inputs to high-school/Qudrat/Tahsili percentages. It stops short of explicit when-not guidance or naming an alternative, but no sibling overlaps this calculation.

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