Skip to main content
Glama

Add note

add_note

Add a new note to a job the caller can access; any member who can see the job may add one. Each call creates another note (not idempotent), so to change an existing note use update_note. The note is authored by the caller and logged in the job's activity. Returns the created note with its id, job and author.

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": {
      "jobId": "<jobId>",
      "text": "<text>"
    },
    "name": "add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe note body, plain text or simple HTML. Sanitized before saving (scripts and unsafe tags are stripped); empty after sanitizing is a 400.
jobIdYesJob the note belongs to (UUID from list_jobs or get_job).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the non-idempotent statement is reinforcement rather than new information. The description does add genuine context beyond the annotations: authorship is attributed to the caller, the action is recorded in the job's activity log, and the return payload is described. It stops short of covering rate limits or failure modes beyond the schema's 400 note.

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 compact sentences, front-loaded with purpose, then the idempotency caveat and alternative, then side effects and return. No filler and nothing repeated from the schema.

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?

For a two-parameter creation tool with no output schema, the description covers purpose, permissions, idempotency, the sibling alternative, side effects, and the shape of the returned note. An agent has everything needed to invoke it correctly.

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%, with both jobId and text documented including UUID provenance and HTML sanitization behavior. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 (add a note to a job) plus the scope constraint (a job the caller can access). It explicitly distinguishes itself from update_note for modifying existing notes, so an agent can pick correctly 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 Guidelines5/5

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

Gives an explicit routing rule: 'to change an existing note use update_note,' which names the sibling and the condition that selects it. It also states the permission condition ('any member who can see the job may add one'), so the agent knows when the call is valid.

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