Skip to main content
Glama

uplus_generate_experiment_report

Creates a standard experiment report as a .docx file from a title, purpose, and content, saving it to an allowed output path.

Instructions

Generate a standard experiment report .docx file.

output_path must stay inside the configured allowed directories (the report folder and the system temp dir by default; extend via allowed_io_paths in config or UPLUS_ALLOWED_PATHS).

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": {
      "title": "<title>",
      "purpose": "<purpose>",
      "content": "<content>",
      "output_path": "<output_path>"
    },
    "name": "uplus_generate_experiment_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
contentYes
purposeYes
student_idNo
output_pathYes
student_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden. It does add genuinely useful behavior: the output_path is sandboxed to allowed directories with config/env overrides. But it omits whether an existing file is overwritten, whether directories are created, whether a template/login context is required, and what is returned on success or failure.

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 short paragraphs, front-loaded with the core action, then the constraint. No filler. The parenthetical config detail is slightly dense but still earns its place as an escape hatch for the path restriction.

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?

For a six-parameter, four-required file-writing tool with no annotations and no output schema, the description says nothing about return values, overwrite behavior, or the expected form of the free-text content/purpose fields. An agent could not call this correctly on the first try without guessing.

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 0% across six parameters, so the description must compensate. It explains only output_path semantics; title, purpose, content, student_id, and student_name are completely undescribed — notably whether content/purpose are plain text, Markdown, or structured sections expected in the report body.

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 artifact: 'Generate a standard experiment report .docx file.' This distinguishes it implicitly from the sibling uplus_submit_experiment_report (which submits rather than generates). It stops short of explicitly naming that sibling or clarifying the relationship, so it is clear but not fully differentiated.

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?

There is no guidance on when to use this instead of uplus_read_experiment_detail or uplus_submit_experiment_report, nor any stated prerequisites (does it require login or an inspected experiment first?). The only operative guidance is a path restriction, which is a constraint rather than usage context.

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