Skip to main content
Glama

Draft Assignment File

draft_assignment_file

Draft an assignment .docx from a Markdown-style content file, style-checking the text by default and resolving image paths relative to the file.

Instructions

Like draft_assignment, but reads the content from a file path.

Image paths in the file resolve relative to that file's folder. lint=True (default) style-checks the file's content first.

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": {
      "content_path": "<content_path>",
      "title": "<title>"
    },
    "name": "draft_assignment_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
lintNo
nameNo
titleYes
courseNo
masterNo
outputNo
doctypeNo
content_pathYes
allow_em_dashNo
skip_metadataNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add real behavior: relative image path resolution against the file's folder, and that lint defaults to true and style-checks the content before drafting. It says nothing about what gets written, whether an existing output is overwritten, or what the lint failure mode looks like, which matters for a tool with an output parameter.

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?

Three short sentences, front-loaded with the sibling comparison and the distinguishing mechanism, followed by two concrete behavioral notes. Nothing is padded, though the ordering puts the reference to another tool before stating what this one does.

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?

An output schema exists, so return values need not be explained, but for an 11-parameter content-generation tool with zero annotation coverage the description is thin: it omits what happens to the file/output, the meaning of the metadata-related flags, and any permission or overwrite considerations.

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 11 parameters, and the description only explains content_path's meaning and lint's default/effect. The other nine parameters (date, name, course, master, output, doctype, allow_em_dash, skip_metadata, title) receive no explanation anywhere, so the description fails to compensate for the coverage gap.

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 concrete mechanism difference: it drafts an assignment whose content is read from a file path rather than supplied inline, which cleanly separates it from the sibling draft_assignment. It is slightly parasitic on the sibling's name, since the actual drafting behavior is only defined by reference, but an agent can still tell the two apart.

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?

"Like draft_assignment, but reads the content from a file path" implies the selection rule: use this one when the content already lives on disk. However, it never explicitly names the alternative or states a when-not condition, leaving the agent to infer the split.

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