Skip to main content
Glama

Add or edit a sponsor

save_sponsor
Destructive

Create or edit a sponsor in an organization, as the CRM form in the app does. Without sponsor_id this creates one: name is required. With sponsor_id (from list_sponsors) it edits that sponsor: pass just the fields to change — omitted fields are untouched, an explicit empty string clears a text field, a blank name is rejected, and it errors if no field is given. Requires CRM-manager access. Returns the sponsor; verify edits with list_sponsors. Runs on the first call; there is no confirmation step.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_sponsor"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNosponsor name; required when creating, never blank
tierNosponsorship tier label
emailNocontact email
notesNonotes about the sponsor
phoneNocontact phone number
statusNoorg's status label for this sponsor
websiteNosponsor website url
metadataNofree-form sponsor metadata
sponsor_idNoedit this sponsor (from list_sponsors); omit to create one
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: the sponsor: { commitment_count, commitments [{ amount, created_at, currency, due_date, event, event_id, id, ledger_item_id, and 8 more fields }], committed_amount, created_at, email, id, metadata, name, next_event { event_date, id, title }, notes, organization_id, paid_amount, phone, status, tier, updated_at, website } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With annotations already declaring destructiveHint=true, idempotentHint=false and readOnlyHint=false, the description still adds real behavioral detail: partial-update semantics (omitted fields untouched), the empty-string-clears-a-field behavior that explains the destructive flag, rejection of a blank name, an error when no field is supplied, the required access level, and the fact that it commits on the first call with no confirmation step.

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?

Purpose is front-loaded in the first clause, followed by mode-specific rules, prerequisites, and verification in a tight sequence. Every sentence carries distinct information — no restatement of the title or schema labels for their own sake.

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 10-parameter tool with a nested metadata object and an output schema, the description covers the operationally risky parts: partial update semantics, clearing behavior, error conditions, access requirements, and lack of confirmation. It leaves the meaning of fields like status and metadata to the schema, which is a reasonable division of labor given full schema coverage.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the field labels by giving mode-dependent meaning to name and sponsor_id and by defining the three-way distinction between omitted, empty-string, and populated values. It adds little for the remaining fields (tier, status, metadata), which the schema already describes adequately.

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 description opens with a specific verb and resource ('Create or edit a sponsor in an organization') and immediately splits the two modes by sponsor_id presence. It also names list_sponsors as the source of the id and as the verification tool, so an agent can place it against siblings like delete_sponsor without opening a schema.

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 states clearly when to omit sponsor_id (create, name required) and when to pass it (edit an existing sponsor obtained from list_sponsors), plus the CRM-manager access prerequisite and the advice to verify edits with list_sponsors. It stops short of naming an alternative tool for cases where this one is the wrong choice, so it is strong guidance rather than exhaustive when/when-not coverage.

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.