Skip to main content
Glama

Publish to project

publish
Destructive

Adds a handoff, decision, blocker or message to a project’s shared log. Every collaborator’s agent reads the log and their phones are notified; a post cannot be unsent.

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": {
      "project_id": "<project_id>",
      "kind": "<kind>",
      "body": "<body>"
    },
    "name": "publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe text of the post.
kindYesWhat the post is.
project_idYesThe project’s id, from list_projects.
supersedesNoDecisions only: the id of the earlier decision this one replaces (from get_project’s `decisions`). The earlier decision is then marked as no longer current.

Output Schema

NameRequiredDescriptionDefault
idYes
okNo
seqNo
publishedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "properties": {
      +    "id": {
      +      "type": "string"
      +    },
      +    "ok": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "published": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "seq": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "id"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is partly known. The description goes beyond that by spelling out the actual side effect (every collaborator's agent reads it and their phones are notified) and the irreversibility (a post cannot be unsent). It stops short of stating permission or rate-limit requirements, which is the remaining gap.

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?

Two sentences, front-loaded with the action and followed immediately by the consequence. Every clause carries information: the entry kinds, the audience, the notification side effect, and the irreversibility.

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?

An output schema exists, so return values need no explanation, and the description covers the write target, the side effects, and the one-way nature of the operation. The only shortfall is the absence of guidance on choosing among entry kinds or on who may publish where, which for a 4-param tool is a minor omission.

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%, including enum values for kind and an explanation of supersedes, so the schema carries the parameter burden. The description adds no parameter-level meaning of its own, making the baseline 3 appropriate.

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?

States a specific verb (adds) and a specific resource (a project's shared log), then enumerates the four entry kinds, matching the enum in the schema. An agent can distinguish this from create_task or get_project without opening either schema.

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?

The description conveys the context for use — broadcasting to every collaborator's agent and phone — which implies this is for team-wide communication rather than private work. However, it never explicitly says when to choose this over siblings like create_task, nor does it state any prerequisites or exclusions.

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.