Skip to main content
Glama

edubase_post_exam_results_export

Read-only

Generate a single-use download link that expires in one hour to export visible exam results as CSV or XLSX, with columns and filters controlled by exam settings.

Instructions

Generate a download link for the results of an exam. The generated link is not authenticated, so it can be handed over to any service, but it can only be used once and it expires in an hour. Only those examinees are exported that are visible for the current user, and the exported columns are controlled by the export settings of the exam (see edubase_get_exam_settings). Exporting the results needs reporting permission for the exam.

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_results_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
examYesexam identification string
sortNoordering of the examinees in the exported file (default: the same order they are listed in on the users page of the exam, name: by the name of the examinees), default: the export_sort setting of the exam
roundNoexport the results of a previous round instead of the current one, only available when the exam is configured to keep the results of its previous rounds, has to be the number of an already closed round (see edubase_get_exam_round)
formatNoformat of the exported file (csv: semicolon separated values, xlsx: Excel 2007+ workbook), default: the export_format setting of the exam
presetNocontent of the exported file (default: the examinees with their results, answers: the answers only, without the examinees), the answers preset is only available for anonymous surveys (default: default)
filtersNoonly export the examinees matching the given user data, keyed by the label (or hash) of a custom user data field with filtering configured or the users list filter enabled (see edubase_get_exam_fields), the value is a filterable option of the field or a list of them (listed by edubase_get_exam_report), number, from-to, date and datetime fields with the users list filter can use a range instead (min and/or max, numbers or YYYY-MM-DD dates), the examinees have to match any value of a field and all fields, cannot be combined with round as the results of a previous round cannot be filtered
languageNolanguage of the exported file (default: the language of the user)

Output Schema

NameRequiredDescriptionDefault
urlYes
examYes
validYes
formatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.11
    • changedInput schema / properties / filters / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "properties": {
      +      "max": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "string"
      +          }
      +        ],
      +        "description": "highest value (inclusive)"
      +      },
      +      "min": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "string"
      +          }
      +        ],
      +        "description": "lowest value (inclusive)"
      +      }
      +    },
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / filters / description
      Previous value: -"only export the examinees matching the given user data, keyed by the label of a custom user data field of the exam (see edubase_get_exam_fields), only those select custom fields can be used that have their filtering configured, the value is one of the filterable options of the field or a list of them, the examinees have to match any of the values given for the same field and all of the fields specified, cannot be combined with round as the results of a previous round cannot be filtered"New value: +"only export the examinees matching the given user data, keyed by the label (or hash) of a custom user data field with filtering configured or the users list filter enabled (see edubase_get_exam_fields), the value is a filterable option of the field or a list of them (listed by edubase_get_exam_report), number, from-to, date and datetime fields with the users list filter can use a range instead (min and/or max, numbers or YYYY-MM-DD dates), the examinees have to match any value of a field and all fields, cannot be combined with round as the results of a previous round cannot be filtered"
  2. Changed4 schema fields changedv2.0.0
    • removedOutput schema / properties / exam / description
      Removed value: -"exam identification string"
    • removedOutput schema / properties / format / description
      Removed value: -"format of the exported file"
    • removedOutput schema / properties / url / description
      Removed value: -"download link for the results"
    • removedOutput schema / properties / valid / description
      Removed value: -"date and time of link expiration"
  3. Addedv1.2.15

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly, non-destructive, non-idempotent), it discloses the traits an agent actually needs: the link is unauthenticated and shareable, single-use, and expires in an hour. It also adds visibility scoping ('only those examinees ... visible for the current user') and the permission requirement, none of which are in the annotation block.

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?

Four sentences, each carrying distinct information (purpose, link lifetime, scope, permission), with the core purpose front-loaded. No filler, though the permission sentence could have been merged with the scoping sentence for tighter flow.

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?

An output schema exists, so return-shape explanation is unnecessary, and the description covers the non-obvious operational constraints: link security model, expiry, one-time use, visibility filtering, and required permission. Reasonably complete for a 7-parameter export tool, with the only gap being no explicit routing against the other results tools.

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 every parameter including the nested filters object is already documented in detail, which sets the baseline at 3. The description adds only the cross-cutting note that exported columns come from the exam's export settings and that results are visibility-scoped; it does not add per-parameter meaning such as the round/filters incompatibility, which lives in the schema.

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?

States a specific verb and resource: 'Generate a download link for the results of an exam.' That is far more precise than the name alone and can be told apart from the read-style siblings such as edubase_get_exam_results_raw or edubase_get_exam_results_user, though it never explicitly names those alternatives as the non-equivalent routes.

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?

It gives a real prerequisite ('needs reporting permission for the exam') and a cross-reference to edubase_get_exam_settings for what columns appear, which is useful context. It does not say when to prefer this over the other results-export/read tools in the sibling list, so selection guidance is only implied.

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