Skip to main content
Glama

Del med en person

tua_share

Shares one or more cases with a named recipient, creating a redacted share record and a recipient link, with an optional preview before confirming.

Instructions

Del én eller flere saker med en PERSON («del med Anna», «del denne på S med anna@firma.no», «del med Anna og Bjarte»). Går gjennom motoren og lager: en DELINGSSAK (skjermet gjengivelse — plassholdere i stedet for personopplysninger — med Utlevert-linje) og en DELINGSLENKE til MOTTAKERSIDEN (http://127.0.0.1:5274/del/ og tua://del/): mottakerens navn, hvem som delte og når, sakene som låste rader på nivået de ble delt, «Be om hele» (e-post tilbake til brukeren) og linja om at ingenting er sendt til noen modell. Siden kan også lastes ned som én HTML-fil (…/del/.html) som brukeren sender selv når mottakeren ikke er på samme nett. Finnes personen fra før (navn eller e-post), brukes den; et nytt navn blir en ny person (kollega). S er standard (V11) — M eller L bare når brukeren sier det; Vault-merkede saker deles bare som S. Kall FØRST med forhandsvis=true, still ett spørsmål («Anna får S av 2 saker, 3 opplysninger skjermes — ok?»), og kall uten forhandsvis når brukeren sier ja. Gi brukeren lenka, nedlastingslenka og den kopierbare teksten slik de er. Delingen kan trekkes tilbake i Tua-appen (lenka slutter å virke).

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": {
      "ids": "<ids>",
      "til": "<til>"
    },
    "name": "tua_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesSak-id-ene som skal deles (fra tua_search/tua_list).
tilYesMottakeren(e): navn, e-post, «Navn <epost>» eller et sirkelnavn — én streng («Anna», «Anna og Bjarte») eller en liste.
convoNoSamtalen dette skjer i (3–8 ord).
levelNoNivået som deles: S (standard), M eller L — M/L bare når brukeren sier det.
projectNoProsjektet delingssaken lagres i. Standard: den første sakens prosjekt.
forhandsvisNotrue = regn ut hvem som får hva og hva som skjermes, uten å opprette, lagre eller logge — til spørsmålet før deling.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.21

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say the tool mutates and is not destructive; the description goes much further, spelling out that a redacted share case with placeholder text and an Utlevert line is created, that a recipient page and revocable token link (including an offline HTML download) result, and that nothing is sent to any model. It also discloses that forhandsvis=true computes without creating, storing or logging — context the annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the purpose and the confirmation workflow, and every fact is on-topic, but it is delivered as one very long run-on block mixing return payload, link formats, level rules and revocation. Splitting the payload description from the calling protocol would make it far more scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with no output schema, the description supplies what the caller needs: the artifacts produced, the exact link forms to hand back to the user, the mandatory preview-then-confirm sequence, and how revocation works. Nothing material about invoking it correctly is missing.

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 100%, so the baseline is 3; the description adds real meaning for `til` (a name, e-mail, «Navn <epost>» or circle name resolve to an existing person, otherwise a new colleague is created) and reinforces the level default. It largely mirrors schema text for `level` and `forhandsvis`, so it does not fully earn a 5.

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?

The description uses a specific verb and a clearly scoped resource: sharing one or more cases («Del én eller flere saker») with a PERSON, with example utterances quoted in the text. The PERSON scoping, plus the explicit note that a share case and a recipient link are created, makes the tool distinct from generic link/compose siblings at a glance.

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 an explicit two-step protocol: call first with forhandsvis=true, ask exactly one confirmation question with a sample phrasing, then call without forhandsvis once the user agrees. It also states the level default (S) and the exclusion that M/L are used only when the user asks, and how pre-existing versus new persons are resolved.

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