Skip to main content
Glama

edubase_post_exam_fields

Modify an exam's built-in user data fields and replace all custom fields. Clears the view results identifier when a custom field loses its unique free-text status.

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.

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
examYes
nameYes
emailYes
phoneYes
fieldsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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)"
  2. Addedv1.2.15

TDQS

A4/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, and the description adds meaningful behavioral context beyond those: it explicitly states that the custom field list is replaced wholesale and that view_results_identifier is cleared under certain conditions. This disclosure of side effects is valuable. However, it does not elaborate on permissions, reversibility, or idempotency beyond the annotations, so a 4 is appropriate rather than 5.

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 sentences with zero wasted words. The primary action is front-loaded in the first sentence, and the crucial side effect is presented immediately in the second. It is efficient and immediately scannable, earning a perfect score.

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?

The tool has a complex schema with rich parameter descriptions, an output schema, and the description covers the core behavior and a critical side effect. It clarifies that custom fields are fully replaced (not merged) and explains the view_results_identifier clearing condition. While it does not enumerate all response details, the output schema exists, and the description sufficiently covers the essential operational context for an agent to call it correctly.

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 all five parameters (exam, name, email, phone, fields) are already well-documented in the schema. The description itself adds minimal parameter-specific detail, only referencing 'built-in user data fields' and 'custom fields' generically. With full schema coverage, the baseline is 3, and the description does not significantly enhance parameter understanding beyond what the schema provides.

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?

The description clearly states a specific action: 'Change the built-in user data fields of an exam, and replace the complete list of its custom fields.' It identifies the resource (exam fields) and distinguishes it from siblings like get_exam_fields (read) and delete_exam_fields (delete). The mention of the side effect on view_results_identifier further clarifies the tool's unique behavior.

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?

The description does not explicitly state when to use this tool versus alternatives, nor does it mention exclusions or sibling tools. It implies usage by describing the action, but lacks explicit routing guidance such as 'use this instead of patch_exam_settings for field updates.' The purpose is clear enough that an agent could infer when to call it, but no alternatives or conditions are provided.

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