Skip to main content
Glama

edubase_post_exam_fields

Update an exam's built-in user data fields and replace its complete custom fields list; clears the results identifier if the chosen custom field is no longer a unique free-text field.

Instructions

Change the built-in user data fields of an exam, and replace the complete list of its custom fields. The view_results_identifier setting of the exam is cleared when the selected custom field is not a unique free text field anymore.

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": {
      "exam": "<exam>"
    },
    "name": "edubase_post_exam_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
examYesexam identification string
nameNorequest the full name of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field)
emailNorequest the email address of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field)
phoneNorequest the phone number of the examinee (true: use the field with its default label, false: do not use the field but keep its other settings, any other value is used as the label of the field)
fieldsNothe custom fields of the exam, in the order they are shown to the examinee, the submitted list replaces the current one so send every custom field that should be kept, use edubase_delete_exam_fields to remove every custom field

Output Schema

NameRequiredDescriptionDefault
examYes
nameYes
emailYes
phoneYes
fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.11
    • addedInput schema / properties / fields / items / properties / filter
      Added value: +{
      +  "description": "allow filtering the examinees by the field on the users list and in the reports, only used for number, from-to, date, datetime (by a range), select, yes-no, yes, no, true-false and gender (by value) fields (default: false)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / fields / items / properties / filter
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv2.0.3
    • changedOutput schema / properties / fields / items / required
      Previous value: -[
      -  "label",
      -  "type",
      -  "required"
      -]New value: +[
      +  "label"
      +]
  3. Changed19 schema fields changedv2.0.0
    • removedOutput schema / properties / email / description
      Removed value: -"the email address of the examinee is requested (false: the field is not used, true: the field is used with its default label, otherwise the custom label of the field)"
    • removedOutput schema / properties / exam / description
      Removed value: -"exam identification string"
    • removedOutput schema / properties / fields / description
      Removed value: -"the custom fields of the exam"
    • removedOutput schema / properties / fields / items / properties / description / description
      Removed value: -"description shown under the field (if set)"
    • removedOutput schema / properties / fields / items / properties / filtering / description
      Removed value: -"short labels the examinees are grouped and filtered with in the exam manager and the reports, keyed by option (select fields only, if set)"
    • removedOutput schema / properties / fields / items / properties / from / description
      Removed value: -"lowest selectable value (from-to fields only)"
    • removedOutput schema / properties / fields / items / properties / icon / description
      Removed value: -"Font Awesome icon class name of the field (if set)"
    • removedOutput schema / properties / fields / items / properties / label / description
      Removed value: -"label of the field, shown to the examinee"
    • removedOutput schema / properties / fields / items / properties / maxlength / description
      Removed value: -"maximum length of the value (free text fields only, if set)"
    • removedOutput schema / properties / fields / items / properties / minlength / description
      Removed value: -"minimum length of the value (free text fields only, if set)"
    • removedOutput schema / properties / fields / items / properties / options / description
      Removed value: -"the selectable options (select fields only)"
    • removedOutput schema / properties / fields / items / properties / pattern / description
      Removed value: -"regular expression the value has to match (free text fields only, if set)"
    • removedOutput schema / properties / fields / items / properties / required / description
      Removed value: -"the field has to be filled in"
    • removedOutput schema / properties / fields / items / properties / step / description
      Removed value: -"difference between the selectable values (from-to fields only, if set)"
    • removedOutput schema / properties / fields / items / properties / to / description
      Removed value: -"highest selectable value (from-to fields only)"
    • removedOutput schema / properties / fields / items / properties / type / description
      Removed value: -"type of the field"
    • removedOutput schema / properties / fields / items / properties / unique / description
      Removed value: -"the value has to be unique within the exam (free text fields only, if set)"
    • removedOutput schema / properties / name / description
      Removed value: -"the full name of the examinee is requested (false: the field is not used, true: the field is used with its default label, otherwise the custom label of the field)"
    • removedOutput schema / properties / phone / description
      Removed value: -"the phone number of the examinee is requested (false: the field is not used, true: the field is used with its default label, otherwise the custom label of the field)"
  4. Addedv1.2.15

TDQS

C2.9/5.0
Behavior1/5

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

The annotations declare destructiveHint=false, implying only additive updates, but the description says the tool replaces the complete custom-field list and clears the view_results_identifier setting. Both are removal/overwrite semantics that contradict the destructiveHint annotation.

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?

The description is two tightly written sentences with the main operation front-loaded. The second sentence discloses a critical side effect, so every sentence earns its place.

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 complex nested-field mutation, the description covers the high-level operation and an important conditional side effect, while the rich schema and output schema handle parameter details and return values. It is missing only explicit when-to-use guidance and a clearer warning that omitted custom fields are dropped.

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 description coverage is 100%, so the schema already documents all five parameters in detail. The description adds no parameter-level meaning beyond the schema and does not explain the boolean/string semantics of name, email, or phone.

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 states a specific verb and resource: changing built-in exam user fields and replacing the custom-field list. It distinguishes built-in fields from custom fields, but it does not explicitly contrast itself with sibling tools such as edubase_get_exam_fields or edubase_delete_exam_fields.

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

Usage Guidelines2/5

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

The description does not say when to use this tool versus alternatives, nor does it mention prerequisites such as fetching existing fields first. The only alternative-tool guidance appears in the schema's fields description, not in the tool description.

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

Deploy Server

Other Tools