Skip to main content
Glama

Add Comment

add_comment

Add a comment to a screen, flow or website section for the user's Mobbin MCP connection, such as why the user saved it. The user and their teammates see it on Mobbin, and get_collection_contents returns it. Use an id from another Mobbin tool's result, like search or get_collection_contents, or the id (a UUID) in a Mobbin link the user shares. Never guess or make up an id. Use it only when the user asks to comment on or add a note to an item. An item that isn't saved yet is saved to All saved first. Mobbin adds a line saying which app posted the comment, so don't sign it. Each call posts a new comment, so send each note once. @mentions aren't supported. If the user wants to mention a teammate, tell them first that no one will be notified and the mention stays plain text. If the call returns a Mobbin access error about the free usage limit, a paid plan requirement, or AI credits, show the error message to the user word for word as its own block, keeping its formatting, line breaks, and links.

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": {
      "content_id": "<content_id>",
      "content_type": "<content_type>",
      "comment": "<comment>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYesPlain text. Line breaks are kept. @mentions don't notify anyone.
content_idYesA screen, flow or section id.
task_intentNoOne short sentence summarizing the user's overall task. Helps return more relevant results. Write it in English even when the conversation is in another language. MUST be the same across all calls for the same task. Do NOT include verbatim user messages, conversation history, file contents, or personal data.
content_typeYes

Output Schema

NameRequiredDescriptionDefault
mobbin_urlYesLink to the content item on Mobbin, where the comment shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, non-idempotent, non-destructive write; the description goes well beyond that by disclosing that each call posts a new comment (so notes must be sent once), that Mobbin appends an attribution line so the text should not be signed, that @mentions are unsupported and won't notify anyone, and how to surface specific access/credit errors verbatim. No contradictions with the annotation set.

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?

The description is long for a single-sentence action, but it is front-loaded with the core action and then ordered by relevance: id sourcing, usage trigger, storage side effect, idempotency warning, mentions, error handling. Nearly every sentence carries operational value; only the attribution-line note feels minor.

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?

Given an output schema exists, the description needn't explain return values, and it still tells the agent where the comment becomes visible (get_collection_contents). Side effects, idempotency behavior, mention limitations, and error-surfacing instructions are all covered, leaving nothing an agent needs missing before calling.

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 75%, and the description meaningfully supplements content_id by telling the agent to pull the UUID from another tool's result or a shared Mobbin link rather than invent one. It also reinforces that the comment body is plain text where line breaks are kept and mentions don't notify, though task_intent and the content_type enum are left entirely to the schema.

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?

Uses a specific verb and resource ('Add a comment to a screen, flow or website section') and scopes it to the user's Mobbin connection. An agent can distinguish this from save_content or create_collection without opening another 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?

Gives an explicit trigger ('only when the user asks to comment on or add a note'), names where to source the id (search or get_collection_contents results, or a Mobbin link), and forbids guessing ids. It also states that unsaved items are first saved to All saved, which is exactly the kind of precondition an agent needs before calling.

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.