Skip to main content
Glama

Bygg en leveranse av atomer

tua_compose

Combine multiple atoms into one markdown deliverable and save as a new atom with provenance to sources. Use for creating notes, documents, or summaries from multiple inputs.

Instructions

Sett sammen flere atomer til én leveranse (markdown) og lagre den som et nytt atom med proveniens tilbake til kildene (hvilken versjon, hvilket nivå). Bruk når brukeren sier «lag et notat/dokument/sammendrag av disse», «sett sammen X, Y og Z». Standard nivå er M (sammendragene) — L bare når brukeren ber om hele innholdet. Vault-merkede atomer tas med bare som S. Du får markdown-kilden tilbake: skriv den om i husstilen om nødvendig og lagre resultatet med tua_save(key=samme key), og fest html/pdf som renders etterpå.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesAtom-id-ene som skal inn, i den rekkefølgen de skal stå.
keyNoStabil nøkkel (f.eks. «lev:riulf-styrenotat») så en ny kjøring erstatter forrige versjon.
nameYesTittel på leveransen, f.eks. «Styrenotat Riulf — oktober 2026».
tagsNo
convoNoSamtalen/oppgaven dette lages i.
introNoValgfri ingress/innledning øverst i leveransen.
levelNoNivået kildene leses på: S, M (standard) eller L.
contextNoBygg som dette prosjektet ser kildene (aldri mer enn nivået det har fått).
projectNoProsjektet leveransen hører til. Standard: det første kildeatomets prosjekt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the tool returns the raw markdown source and does not itself finalize the deliverable, provenance records which version and level were used, and the key parameter makes a re-run replace the previous version. That last point sits in mild tension with idempotentHint=false, though versioned replacement on a stable key is not a true contradiction. No permissions or error behavior is described.

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?

Front-loaded with the core action, then the when-to-use triggers, then level rules, then the follow-up workflow. Dense but nearly every sentence carries actionable information; only the house-style/HTML-PDF tail is slightly tangential to invoking the tool correctly.

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 compensates by stating exactly what comes back (the markdown source) and what the agent must do next (rewrite and save via tua_save with the same key). For a 9-parameter mutation tool this is close to complete, though failure modes and the exact provenance artifact remain unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 89%, so the baseline is 3, but the description genuinely adds meaning: level defaults to M with L only on request, context is capped at the level it was given, and vault-tagged atoms are forced to S. It also clarifies that ids are order-sensitive and that project defaults to the first source atom's project.

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?

States a specific verb and resource: compose several atoms into one deliverable in markdown and persist it as a new atom with provenance back to sources. The scope, output format and the persisted artifact are all named, making it clearly distinguishable from siblings like tua_get or tua_save.

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

Usage Guidelines5/5

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

Gives concrete trigger phrases («lag et notat/dokument/sammendrag av disse», «sett sammen X, Y og Z»), specifies the default level (M) and the exception (L only on explicit request), and explains the vault-atom rule (included only as S). It also draws an explicit boundary with the sibling tua_save by saying the write-back happens in a separate call.

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