Skip to main content
Glama

Create a ShareNotes link

create_note

Publish text as a note on sharenotes.dev and get back a short, human-readable link (like https://sharenotes.dev/blue-fox-42) to give to a person. Use it when the user wants to share text, code, logs or instructions with someone else, or move text to another device. Anyone with the link can read the note, and notes are stored on the server, not end-to-end encrypted — never use it for passwords, API keys or other secrets. The note expires after 7 days unless you set expiresIn. Set burnAfterRead for a note that is destroyed the first time a person opens it, or maxViews (2–100) for one destroyed after that many opens. Set pin (and pinMode) only when the user asks for a PIN and tells you which. Returns the link and the expiry time.

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": "<content>"
    },
    "name": "create_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinNoOptional 4-6 digit PIN. Only set one the user chose, and tell them the PIN is needed to open or edit the note.
titleNoOptional short title shown above the note.
contentYesThe text to publish. Plain text or Markdown. Up to 1 MB.
pinModeNoWith a PIN: "edit" lets anyone read but only the PIN holder edit; "view_edit" (the default) needs the PIN to read too.
maxViewsNoDelete the note after this many opens (implies burnAfterRead). Link previews and reloads by someone who already opened it do not count.
expiresInNoHow long the note lives. Defaults to 7d.
burnAfterReadNoIf true, the note is deleted the first time someone opens the link. Link previews in chat apps do not count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / pin
      Added value: +{
      +  "description": "Optional 4-6 digit PIN. Only set one the user chose, and tell them the PIN is needed to open or edit the note.",
      +  "type": "string"
      +}
    • addedInput schema / properties / pinMode
      Added value: +{
      +  "description": "With a PIN: \"edit\" lets anyone read but only the PIN holder edit; \"view_edit\" (the default) needs the PIN to read too.",
      +  "enum": [
      +    "edit",
      +    "view_edit"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / content / description
      Previous value: -"The text to publish. Plain text or Markdown. Up to 10 MB."New value: +"The text to publish. Plain text or Markdown. Up to 1 MB."
  3. Changed1 schema field changed
    • addedInput schema / properties / maxViews
      Added value: +{
      +  "description": "Delete the note after this many opens (implies burnAfterRead). Link previews and reloads by someone who already opened it do not count.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false and openWorld=true; the description adds substantive context beyond that — anyone with the link can read it, storage is server-side and not end-to-end encrypted, and there is a 7-day default lifetime. It also discloses how destruction works (burnAfterRead, maxViews) and notes that link previews and reloads do not count toward those limits.

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?

Purpose and link format are front-loaded, followed by usage triggers, safety warning, lifetime, and per-parameter rules in a logical order. Despite its length, nearly every clause carries a distinct operational rule — no filler or restated title padding.

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 7-parameter write tool with no output schema, the description covers everything needed: return value ("Returns the link and the expiry time"), default lifetime, security posture, and when to engage the optional parameters. Nothing an agent needs to call it safely 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 baseline is 3; the description adds decision guidance the schema lacks, notably the conditional instruction to set pin/pinMode only on explicit user request and the interaction between expiresIn and the default 7-day expiry. Minor defect: it states maxViews is "2–100" while the schema allows minimum 1, a small inconsistency that could confuse an agent at the boundary.

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 opens with a specific verb and resource ("Publish text as a note on sharenotes.dev") plus the concrete outcome ("get back a short, human-readable link"). The example link format further disambiguates it from the read-side siblings read_note and add_to_note.

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?

It states explicit triggers ("when the user wants to share text, code, logs or instructions with someone else, or move text to another device") and an explicit exclusion ("never use it for passwords, API keys or other secrets"). It also conditions the optional parameters: pin only "when the user asks for a PIN and tells you which."

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