Skip to main content
Glama

Add or update creators

upsert_creator

Add creators or update them by code (needs a propose key). A new creator needs displayName and since. For an existing creator, only the fields you send change; null clears youtubeChannelId, tiktokHandle, publicName, otherChannels, perkGrantedAt, perkUntil or perkRef. perkGrantedAt, perkUntil and perkRef record a perk given to the creator (Loop records it, it does not grant anything). publicName is the public account name a creator's link page may show; never put a real name there. Loop checks the PR label of a TikTok post only when the post's author is the creator's tiktokHandle. Do not send email addresses or phone numbers.

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": {
      "creators": "<creators>"
    },
    "name": "upsert_creator"
  }
}

Input Schema

NameRequiredDescriptionDefault
creatorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / creators / items / properties / perkGrantedAt
      Added value: +{
      +  "description": "ISO 8601 date-time the promised perk was given. Not in the future.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / creators / items / properties / perkRef
      Added value: +{
      +  "description": "Your own reference for the grant (an internal id). No personal information.",
      +  "maxLength": 200,
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / creators / items / properties / perkUntil
      Added value: +{
      +  "description": "YYYY-MM-DD. The perk is valid through this day.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / creators / items / properties / publicName
      Added value: +{
      +  "description": "The creator's public account name, shown on their link page. Not a real name.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / creators / items / properties / tiktokHandle
      Added value: +{
      +  "description": "The creator's TikTok name (@name or a tiktok.com/@name link).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare write/non-open/no-destructive; the description goes well beyond by disclosing that null actively CLEARS youtubeChannelId, tiktokHandle, publicName, otherChannels, perkGrantedAt, perkUntil and perkRef, and that omitted fields are left untouched. It also clarifies that the perk fields merely record a perk Loop does not grant, and states data-hygiene rules (no PII, publicName is never a real name) that no structured field conveys. The null-clearing behavior sits uneasily with destructiveHint=false but is not a direct contradiction, since no resource is deleted.

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 correctly: verb, key, and the propose-key prerequisite come first, then per-field rules. It is dense but every sentence carries policy, though the TikTok PR-label-check sentence reads as a non-sequitur for an upsert tool and the lack of line breaks makes the null-clearing list hard to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Strong on field semantics and policy for a mutation tool with no output schema and no annotations beyond a basic safety profile. It is silent, however, on batch behavior for up to 500 creators (partial failure, atomicity, response contents like created-vs-updated counts) and on workspace scoping, which an agent needs before sending a large upsert.

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?

With the single top-level array param reported at 0% schema description coverage, the description does real work: it upgrades the schema's lone required `code` into a practical rule (displayName and since required for creation) and explains the meaning of the null sentinel, publicName, and the perk trio. It still leaves state, feePerPostJpy, youtubeChannelId, and otherChannels uninterpreted, so it does not fully compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Add creators or update them by code (needs a propose key)" states a specific verb (upsert), the resource (creators), and the key that decides insert-vs-update, so the agent knows exactly what the call does. It stops short of 5 because it never contrasts itself with the nearby sibling add_creator_prospects, leaving the agent to infer which add-path to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives concrete conditions: a new creator requires displayName and since, while an existing creator only changes the fields sent. It also supplies hard constraints (do not send email or phone numbers, never put a real name in publicName, the PR label is checked only when the post author matches tiktokHandle). No explicit when-not-to-use or named alternative is given, which keeps it below 5.

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