Skip to main content
Glama

Publish pins in bulk

create_pins_batch

Publish several pins in one call with a per-entry outcome.

    Use for bulk publishing (up to 100 pins) when the workspace has the
    bulk_imports feature; otherwise call create_pin per pin. Check
    get_billing_status for quota first: the batch needs quota for every
    entry. Supply an idempotency_key per entry if you may resend.

    Returns created_count, existing_count, failed_count, results (one
    {index, idempotency_key, status, pin, error} per entry) and headroom.
    Fails as a whole with payment_required without bulk_imports and
    quota_exceeded when quota is short; per-entry board or validation
    failures land in results instead.
    

Input Schema

NameRequiredDescriptionDefault
pinsYesUp to 100 pins, each with the same fields as create_pin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / $defs / PinInput / properties / related_terms
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Discovery keywords.",
      -  "title": "Related Terms"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / pins / description
      Added value: +"Up to 100 pins, each with the same fields as create_pin."
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (which already declare non-read-only, non-idempotent, non-destructive, open-world), the description discloses the failure model: whole-call payment_required and quota_exceeded, per-entry board/validation failures landing in results, and that omitting idempotency_key makes the batch unsafe to resend after a timeout. That is exactly the behavioral context annotations cannot convey.

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?

Front-loaded with purpose, then usage, then return/error semantics; every sentence carries information. It is slightly long, but the density of failure-mode and return-value detail justifies the length.

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?

With no output schema, the description compensates by enumerating the return payload (created_count, existing_count, failed_count, results with index/idempotency_key/status/pin/error, headroom). Combined with the error model, an agent has everything needed to invoke and interpret the call.

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, but the description adds meaning beyond the schema: the 100-pin cap on the array and the per-entry idempotency_key guidance with its resend-safety implication. The PinInput fields themselves are documented in the schema, so no further gain is needed.

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 several pins in one call with a per-entry outcome.' It also explicitly contrasts with create_pin, so an agent can distinguish it from the per-pin sibling without inspecting the schema.

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 precisely when to use it (bulk publishing, up to 100 pins, workspace must have the bulk_imports feature), names the fallback (create_pin per pin), and adds a prerequisite step (check get_billing_status for quota first). Nothing is left to inference.

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