Skip to main content
Glama

Add the user's material to a project

add_project_material

Give a project the user's own material: product name and photo, premise, full script, story beats, dialogue, tagline, call to action, selling points, a lead photo or saved character. Whatever the user wrote is used as written and takes priority; PopNow fills in the rest. You can write the premise, script or beats together with the user and pass them here. Call it as often as needed; later values replace earlier ones. Free.

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": {
      "project_id": "<project_id>"
    },
    "name": "add_project_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoThe call-to-action button text, kept word for word, for example Shop now.
leadNoWho leads the piece, described in a sentence (age, look), when there is no photo.
toneNoTone in a word or two, for example friendly, deadpan.
beatsNoThe user's own story beats in order, one short line each (3 to 8). They replace the template's beats.
brandNoOptional brand kit from popnow.ai: default, or a brand key from list_brands. Its tagline, call to action, tone, phrases to keep and banned words fill in whatever isn't given here.
offerNoA current offer, for example 20% off this week.
priceNoPrice as the user states it, for example $24.
scriptNoThe user's own full script, scenes or dialogue, pasted as written (up to 3,000 characters). It takes priority over PopNow's own story.
premiseNoThe user's own idea for the piece, one to three sentences.
taglineNoThe user's tagline, kept word for word.
dialogueNoLines the user wants spoken, as written.
product_idNoOptional product the user saved on popnow.ai (list_products): its name, photo, selling points and packaging text fill in whatever isn't given here.
project_idYesThe project_id from create_project.
banned_wordsNoWords the brand never uses.
character_idNoOptional saved character (list_characters, including people made on popnow.ai) to lead the piece instead of lead_image_url.
keep_phrasesNoBrand phrases that must appear exactly as written.
product_nameNoWhat is being sold or shown, in a few words.
lead_image_urlNoOptional photo of the person who leads the piece (popnow:// or https). Only with the person's permission.
selling_pointsNoUp to 3 selling points, kept word for word.
product_image_urlNoA photo of the product: a popnow:// link (from get_upload or import_product) or a public https link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare write, open-world and non-idempotent behavior, and the description adds genuinely useful merge semantics: user-supplied text wins and PopNow fills the gaps, and repeated calls overwrite earlier values. It does not cover what is returned, whether adding material invalidates an existing plan, or any permission constraints, so beyond the priority rules the behavioral picture is only partly filled in.

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 opening sentence front-loads the purpose, followed by precedence, co-writing, repeat-call and cost notes, each in one tight clause. The long enumeration of material types partly duplicates the schema, which costs a little, but nothing is padded or buried.

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 20-parameter mutation with no output schema, the description covers purpose, precedence, incremental use and cost, which is most of what an agent needs to call it correctly. It leaves unclear what happens to existing project state or plan when material is added and what the call returns, which matters for chaining into produce_project or revise_project_plan.

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 coverage is 100%, so every one of the 20 parameters is already documented in the schema, including cross-references to list_brands, list_products, list_characters and get_upload. The description's field list largely restates those parameters; its added meaning is the precedence rule ("used as written and takes priority") rather than per-parameter detail, so baseline 3 applies.

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?

The description opens with a specific verb and resource ("Give a project the user's own material") and enumerates exactly what counts as material: product name and photo, premise, script, beats, dialogue, tagline, CTA, selling points, lead photo/character. The purpose is unambiguous, but it never names or contrasts a sibling such as create_project, revise_project_plan or produce_project, so the agent must infer the boundary from context rather than from the text.

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?

It gives clear usage context: use it when the user supplies their own copy or you co-write premise/script/beats with them, and it is safe to call repeatedly because "later values replace earlier ones." It also states cost ("Free"). What is missing is explicit when-not guidance or a named alternative for cases where the agent should generate content instead of supplying it.

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.