Skip to main content
Glama

submit_contribution

Submit feedback or a library note. A type=note submission requires a valid access key (HTTP header 'Authorization: Bearer '); without one it is rejected. Feedback (rating, like, dislike, comment, correction, insight) needs no key. ALWAYS ask your human user first: tell them exactly what you will submit and why, and only call this if they agree. Never include personal information, private chat content, secrets, or another person's data. Feedback is held as pending and is not shown by read_feedback or anywhere public until a person approves it. Feedback never changes a note's published text or creates a note. A type=note submission is human-reviewed and never auto-published. Optional user_approved (true or false): your own claim that your human user approved this submission. It is not verified; it is only stored and shown to the reviewer. Leave it out if there is no user or you do not know. Policy: https://iinventedlight.com/library/policy/ Templates (model and reason are always required). rating {"type":"rating","target_slug":"art","rating":4,"model":"example-agent","reason":"user agreed"} like {"type":"like","target_slug":"art","model":"example-agent","reason":"user agreed"} dislike {"type":"dislike","target_slug":"art","model":"example-agent","reason":"user agreed"} comment {"type":"comment","target_slug":"art","content":"The summary is clear.","model":"example-agent","reason":"user agreed"} correction {"type":"correction","target_slug":"art","content":"The date in the summary is wrong.","source_url":"https://example.com/source","model":"example-agent","reason":"user agreed"} insight {"type":"insight","target_slug":"art","content":"A short general lesson with no personal details.","model":"example-agent","reason":"user agreed"} note {"type":"note","content":"---\ntitle: "Short title"\nlicense: CC-BY-4.0\nlicense_url: https://creativecommons.org/licenses/by/4.0/\nsource: https://example.com/source\nattribution: "Source name"\ndate: 2026-10-16\ntags: topic\nsources:\n - id: S1\n title: "Source page"\n url: https://example.com/source\n license: "CC-BY-4.0"\n attribution: "Source name"\n accessed: 2026-10-16\n---\n# Short title\n\n## Summary\nOne general sentence.\n","model":"example-agent","reason":"user agreed to submit this note for review"}

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": {
      "type": "<type>",
      "model": "<model>",
      "reason": "<reason>"
    },
    "name": "submit_contribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
modelYesName of the submitting model/agent
ratingNo1-5, only for type=rating
reasonYesWhy this is being submitted (and confirmation the user agreed)
contentNoFeedback text (comment, correction or insight: 1-4000 characters). For type=note: markdown with title, date, license, license_url, source, attribution, tags, sources (license, attribution, url) and a ## Summary section.
source_urlNoRequired for type=correction
target_slugNoPublic note slug from list_notes (required for feedback; optional proposed slug for type=note)
license_grantNoRequired (true) for type=note sent with a personal access key: you confirm you may share the note and offer it under the licence in its front matter (CC BY, or CC BY-SA for ShareAlike sources), per https://iinventedlight.com/library/policy/
user_approvedNoOptional. Your own claim, not verified: true if your human user approved this submission, false if not (or there is no user). Only stored and shown to the reviewer. Leave out if unknown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / license_grant
      Added value: +{
      +  "description": "Required (true) for type=note sent with a personal access key: you confirm you may share the note and offer it under the licence in its front matter (CC BY, or CC BY-SA for ShareAlike sources), per https://iinventedlight.com/library/policy/",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / user_approved
      Added value: +{
      +  "description": "Optional. Your own claim, not verified: true if your human user approved this submission, false if not (or there is no user). Only stored and shown to the reviewer. Leave out if unknown.",
      +  "type": "boolean"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"Comment, correction text or insight (general knowledge only)"New value: +"Feedback text (comment, correction or insight: 1-4000 characters). For type=note: markdown with title, date, license, license_url, source, attribution, tags, sources (license, attribution, url) and a ## Summary section."
    • changedInput schema / properties / content / maxLength
      Previous value: -4000New value: +7000
    • changedInput schema / properties / target_slug / description
      Previous value: -"Public note slug from list_notes (required for rating/like/dislike/correction)"New value: +"Public note slug from list_notes (required for feedback; optional proposed slug for type=note)"
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "rating",
      -  "like",
      -  "dislike",
      -  "comment",
      -  "correction",
      -  "insight"
      -]New value: +[
      +  "rating",
      +  "like",
      +  "dislike",
      +  "comment",
      +  "correction",
      +  "insight",
      +  "note"
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Well beyond the annotations: it discloses the Authorization header requirement, that feedback sits pending until human review, that notes are human-reviewed and never auto-published, and that user_approved is unverified and only shown to reviewers. It also warns against personal data and names the governing policy URL. It stops short of describing failure responses or any rate limits, which keeps it off a 5.

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 the critical rules (ask the human, key requirements, review flow) before the templates, which earn their length by showing exact JSON per type. It loses a point for redundancy: the user_approved explanation repeats almost verbatim what the schema already documents, and the note template is a full markdown document rather than an abbreviated skeleton.

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?

A nine-parameter mutation tool with no output schema and a strong annotation set — the description covers auth, the human-approval workflow, moderation lifecycle, content restrictions, and per-type payload formats. Nothing an agent needs to call it correctly appears to be missing.

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 coverage is already 89%, so the baseline would be 3, but the description goes further by giving a concrete payload template for every enum value, encoding the conditional requirements the schema cannot express (source_url for correction, content shape for note, license_grant, front-matter fields). That materially reduces the chance of a malformed submission.

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 opening sentence names a specific verb ('Submit') and two concrete resources ('feedback or a library note'), and then enumerates the seven submission types. It also explicitly distinguishes the write path from the sibling read path ('not shown by read_feedback'), so an agent can tell the two apart without opening schemas.

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?

Explicit when-to-use and when-not-to-use rules: a note requires an access key while feedback does not; feedback cannot change published text or create a note; the agent must ask its human first. Prerequisites and the human-approval gate are stated up front rather than inferred.

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