Skip to main content
Glama
growsurf

GrowSurf MCP Server

Official

Update Program Resource

growsurf_update_program_resource
DestructiveIdempotent

Updates a GrowSurf participant resource field or moves it to a zero-based position, applying only supplied changes and targeting the chosen campaign.

Instructions

Update at least one participant resource field, or move it to a zero-based position. Only supplied fields change. A replacement FILE requires a one-time uploadTicket and the unmodified uploadResult from GrowSurf's secure upload flow. API reference: https://docs.growsurf.com/developer-tools/rest-api/api-reference. Targets campaignId if supplied, otherwise GROWSURF_CAMPAIGN_ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoUsed with `LINK`.
textNoUsed with `TEXT`.
typeNo
titleNo
categoryNo
positionNo
campaignIdNoTarget program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server.
resourceIdYes
descriptionNo
isPublishedNo
uploadResultNoThe unmodified result returned by the secure upload flow for a replacement `FILE`.
uploadTicketNoThe one-time upload ticket for a replacement `FILE`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.9
    • changedInput schema / properties / campaignId / description
      Previous value: -"Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Pass the `id` returned by growsurf_create_campaign to configure or operate a program you just created, without restarting the server."New value: +"Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server."
  2. Addedv0.14.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare write/destructive/idempotent/openWorld, so the safety profile is covered. The description adds genuine context beyond them: partial-update behavior ("Only supplied fields change"), the one-time uploadTicket plus unmodified uploadResult requirement for FILE replacement, and campaign targeting via campaignId or the GROWSURF_CAMPAIGN_ID env var.

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?

Three tight sentences, front-loading the update/partial semantics before the conditional FILE caveat and the targeting rule. The API-reference URL is useful rather than filler; no redundancy against structured fields.

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 tool gated by a complex conditional schema (if/then upload pairing, anyOf requiring at least one updatable field), the description covers the key interactions and an output schema exists so return values need not be explained. The one gap is the absence of any usage routing relative to sibling resource tools.

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 schema description coverage at only 42%, the description must compensate, and it does for the non-obvious params: position is zero-based, FILE needs uploadTicket + the unmodified uploadResult from the secure upload flow, and campaignId defaults to GROWSURF_CAMPAIGN_ID. Self-evident params (title, description, isPublished) are left to the schema, which is reasonable.

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?

States a specific verb+resource ("Update ... participant resource field, or move it to a zero-based position") and clarifies partial-update semantics with "Only supplied fields change." It is clear what the tool does, though it never names or distinguishes itself from the sibling create/delete/list program-resource tools.

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

Usage Guidelines2/5

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

The description says what can be updated (at least one field, or position) but gives no when-to-use guidance, no exclusions, and no routing to alternatives such as growsurf_create_program_resource or growsurf_delete_program_resource. An agent gets no help deciding between this and its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools