Skip to main content
Glama

post-draft-note-with-images

Creates or updates a note.com draft article and inserts Base64-encoded images into the Markdown body via API, with optional tags and eyecatch image.

Instructions

画像付きの下書き記事を作成する(API経由で画像を本文に挿入)

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": {
      "title": "<title>",
      "body": "<body>"
    },
    "name": "post-draft-note-with-images"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo既存の下書きID(既存の下書きを更新する場合)
bodyYes記事の本文(Markdown形式、![[image.png]]形式の画像参照を含む)
tagsNoタグ(最大10個)
titleYes記事のタイトル
imagesNoBase64エンコードされた画像の配列
eyecatchNoアイキャッチ画像(ファイル名文字列、またはBase64画像データオブジェクト)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden for a mutation tool, and it discloses very little: it does not say that images are uploaded and referenced in the body, how the body's ![[image.png]] placeholders must match the images filenames, whether supplying id overwrites an existing draft, or any base64 size limits. The parenthetical about API-based insertion is the sole behavioral hint.

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?

A single short sentence with the key differentiator (画像付き) front-loaded and nothing redundant. It is efficient, though its brevity is achieved by omitting content rather than by tight editing of rich content.

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

Completeness2/5

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

For a six-parameter mutation tool with nested image objects, no annotations, and no output schema, the definition is too thin. Nothing explains overwrite semantics when id is passed, the relationship between eyecatch, images, and body references, or the operational cost of large base64 payloads.

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 description coverage is 100%, so every parameter including the nested images and eyecatch objects is already documented, establishing a baseline of 3. The description adds only a faint hint that images get inserted into the body, which the schema's body description already conveys.

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 (下書き記事を作成する) plus a differentiating modifier (画像付き), which separates it from the sibling post-draft-note. It stops short of explicitly naming that sibling as the no-images alternative, so the distinction is inferred from the name and title rather than declared.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the plain post-draft-note sibling, no prerequisites, and no exclusions. The only usage signal is the implicit 'use this when you have images', which the agent must derive from the title.

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