Skip to main content
Glama
@dwlf/mcp-server

@dwlf/mcp-server

by andywilliams

dwlf_bulk_create_annotations

Create up to 25 chart annotations in a single call with per-item results; one failed item does not block the rest.

Instructions

Create multiple annotations in one call (max 25). Each entry follows the same shape as dwlf_create_annotation — see its data-shape reference. Returns a per-item results array; an individual item can fail without aborting the rest.

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": {
      "annotations": "<annotations>"
    },
    "name": "dwlf_bulk_create_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
annotationsYesAnnotations to create (1-25)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.77.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does meaningful work: it discloses the 25-item ceiling and, more importantly, the partial-failure contract ('an individual item can fail without aborting the rest') with a per-item results array. That is exactly the non-obvious behavior an agent needs before calling a bulk mutation. It does not cover permissions, rate limits, or whether the batch is transactional, which keeps it from a 5.

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?

Three short sentences, front-loaded with the batch verb and the size limit, then the shape dependency, then the return and failure behavior. Every sentence contributes new information and nothing is padded.

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

Completeness3/5

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

There is no output schema and no annotations, so the description must carry both safety and return semantics. It adequately covers the return shape (per-item results array) and partial failure, but for a write tool it omits permission requirements and says nothing about what a result item contains or how failures are identified per entry.

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 coverage is 100% and there is effectively one top-level parameter, so the schema already documents the array, its bounds, and every per-item field including the type enum. The description's max-25 note duplicates maxItems, and its value comes mainly from delegating field meaning to dwlf_create_annotation. Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Create multiple annotations in one call') plus a batch cap of 25. It distinguishes itself from the single-item sibling by naming dwlf_create_annotation as the canonical shape reference, so an agent can tell these two apart immediately. It stops short of a 5 because it never explicitly frames itself as the preferred route when creating more than one annotation.

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

Usage Guidelines4/5

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

The batch context ('multiple ... in one call') plus the 'max 25' bound gives a clear condition for choosing this tool over repeated single creates. The pointer to dwlf_create_annotation for the entry shape correctly routes the agent to the sibling for per-item semantics. Missing is any explicit exclusion, such as guidance for batches larger than 25 or whether duplicates within a batch are rejected.

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