Skip to main content
Glama

Publish approved feedback

publish_feedback
DestructiveIdempotent

Post the saved feedback preview under the connected user's public cobuild account. The mod's maintainer is notified as for a comment on the website. Requires explicit approval of the exact action and public text. Pass the draftId from prepare_feedback, its unchanged digest and consentVersion (agent-feedback-v1), and approved:true only after that approval. OAuth consent is not approval. Retrying the same draftId never posts twice. An expired draft needs a new preview and approval.

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": {
      "draftId": "<draftId>",
      "digest": "<digest>",
      "consentVersion": "<consentVersion>",
      "approved": "<approved>"
    },
    "name": "publish_feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
digestYes
draftIdYes
approvedYes
consentVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructive, open-world and idempotent, but the description adds context annotations cannot express: the post is public, the mod's maintainer gets notified as with a website comment, consent and approval are distinct, and the reason idempotency holds (same draftId never posts twice). This is substantive disclosure for a destructive public-write tool.

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?

Front-loaded with the action and destination, then prerequisites, then safety semantics. Six sentences, none filler — even the maintainer-notification aside adds information the agent could not otherwise infer.

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?

For a destructive, open-world mutation with no output schema, the definition covers prerequisites, side effects, idempotency and expiry. It stops short of describing what a successful response contains or failure modes other than an expired draft, which would complete the picture for a posting tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: draftId originates from prepare_feedback, digest must be the unchanged one from that draft, consentVersion is the fixed value agent-feedback-v1, and approved must be true only after the human approval step. Every required parameter gains meaning not present in the bare JSON types and consts.

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 and resource ('Post the saved feedback preview') plus the destination ('connected user's public cobuild account'), which immediately separates it from prepare_feedback, which only stages a preview. An agent can tell exactly what this does without opening 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?

Explicitly gates usage on prior approval of the exact action and public text, names prepare_feedback as the source of draftId, and clarifies that OAuth consent is not approval. It also covers the two edge cases an agent will actually hit: retrying the same draftId is safe, and an expired draft requires a fresh preview plus new approval.

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