Skip to main content
Glama

Set security properties on a slate

set_slate_security

Set security properties on editable slate notes and lines to classify data, protocols, encryption, and sign-in, mark trust boundaries, and preview or save changes.

Instructions

Say what notes and lines are in security terms: a service, data store or trust boundary; what data a line carries, its protocol, encryption and sign-in. Answers the checks and STRIDE prompts that follow.

Change security properties. Set security properties on notes and lines of a slate you can edit. notes and lines map ids (slates.get lists them) to properties; given fields replace what is there, a field set to null is cleared, and null for an item removes its properties. Type a frame as element "boundary" to make it a trust boundary. labelLines also writes each changed line's properties as its label ("HTTPS · OAuth token · Personal data"); everyone on the slate sees it. Answers the slate's properties with their checks, as security.get does. mode "preview" checks without saving.

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": {
      "shareId": "<shareId>"
    },
    "name": "set_slate_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosave (the default) writes; preview returns what would change and saves nothing. The response says which happened.save
linesNoBy line id (slates.get lists them).
notesNoBy note id (slates.get lists them).
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
shareIdYesThe slate ID from its address: /canvas/<shareId>.
labelLinesNoAlso label each line changed here with its properties.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.
expectedRevisionNoThe revision you read (security.get answers it). The change is refused with 409 security_changed if the security properties changed after it; edits to notes alone never refuse it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, non-idempotent mutation; the description goes well beyond that by disclosing merge semantics (given fields replace, null clears a field, null for an item removes all its properties) and a real side effect: labelLines rewrites each changed line's visible label ("everyone on the slate sees it"). The conflict behavior (409 security_changed via expectedRevision) and confirmation idempotency key are also surfaced, though partly duplicated in the schema.

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?

The core mutation and merge semantics are front-loaded and dense with useful facts, but the opening paragraph is scene-setting ("Say what notes and lines are in security terms... Answers the checks and STRIDE prompts that follow") that a caller does not need to invoke the tool correctly, and the title-level statement is repeated twice. Trimming the framing would leave a tighter, equally informative definition.

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?

For an 8-parameter nested mutation with no output schema, the description covers what gets written, how partial updates merge, how to clear, the preview/save choice, and that the response mirrors security.get with checks. The remaining gap is the confirmation flow (confirm/idempotencyKey are only visible in the schema), so the description is close to complete but not fully self-sufficient.

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 already 100%, so the baseline is 3; the description still adds meaning beyond it by explaining that notes and lines are keyed by ids listed in slates.get, that element "boundary" turns a frame into a trust boundary whose contained notes form its zone, and by spelling out the actual label format written by labelLines. The per-field enum semantics (protocol vs inTransit, auth) remain entirely schema-borne.

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 specific verb and resource ("Change security properties. Set security properties on notes and lines of a slate you can edit") and frames the domain meaning as services, data stores, trust boundaries. It does not name the read-side sibling (get_slate_security) or draw_security_slate, so an agent must infer the boundary from "a slate you can edit" and the preview mode rather than from an explicit contrast.

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?

Usage is implied rather than stated: "a slate you can edit" establishes the permission precondition, and "mode 'preview' checks without saving" gives a safe way to dry-run. There is no explicit when-not or pointer to the reading tool that would tell an agent not to call this when it only wants to inspect properties.

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

Deploy Server

Other Tools