Skip to main content
Glama

Generate reference

generate_handout

Generate a participant REFERENCE (the app's name for a handout: reading material) for ONE activity using Metodic's real generator, and return it as a branded HTML artifact in the chat (also saved to the session). Unlike a worksheet (which participants fill in), a handout is READING/REFERENCE material the participant keeps beside their worksheet — background, a framework, a case study, a persona, a checklist. Give the activity's number (1-based) and optionally a kind. Framing activities (Opening/Closing) can have handouts too. Takes ~15-30s and ~0.5 Metodic credit.

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": {
      "session_id": "<session_id>",
      "activity": "<activity>"
    },
    "name": "generate_handout"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoWhat kind of reference material to make. Default: handout.
activityYesThe activity's number in the agenda (1-based).
session_idYesThe Metodic session (toolkit) id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare non-readonly, non-idempotent, non-destructive, so the description carries most of the burden and does well: it discloses the return form (branded HTML artifact in chat, also saved to the session), a runtime estimate (~15-30s), and a cost (~0.5 Metodic credit). It does not state failure behavior or whether regeneration duplicates artifacts, which is the remaining gap for a costly generation call.

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?

Front-loaded with the action and artifact, then the handout/worksheet distinction, then usage constraints and cost. Dense but each sentence carries distinct information (what, contrast, inputs, timing/cost) with no padding.

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?

With no output schema, the description supplies the return form and the cost/time tradeoff, which is what an agent needs before invoking an expensive generator. Complete enough for the task; only regeneration and failure semantics are left implicit.

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 coverage is 100%, so all three parameters are already documented. The description adds only the 1-based reminder and the default for `kind`, which is marginal value over the schema's enum and descriptions.

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?

Names a specific verb and resource ("Generate a participant REFERENCE ... for ONE activity") and explicitly contrasts it with the worksheet sibling, so an agent can distinguish it without opening the schema. The parenthetical defining handout as reading material is concrete and unambiguous.

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

Usage Guidelines4/5

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

Gives clear context for when to use: one activity at a time, framing activities included, and the handout vs worksheet distinction (reading material vs fill-in). It does not explicitly tell the agent when to prefer the other generate_* siblings, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources