Skip to main content
Glama

Add or edit one media-kit item

media_kit_upsert_item
Destructive

Add or edit one rate, brand partner, case study, or portfolio video in an owned media kit. Existing items use their returned ID; omitted item fields stay unchanged. Returns the updated complete kit.

Input Schema

NameRequiredDescriptionDefault
itemYesItem fields; each field notes which kinds use it
kindYesWhich collection the item belongs to; it decides which item fields apply
media_kit_idYesMedia kit ID from media_kit_list

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare the mutation profile (destructiveHint, non-idempotent, open-world), so the description's job is to add the details annotations can't express. It does: merge/patch semantics for omitted fields and the fact that the full updated kit is returned. It doesn't cover auth requirements or failure behavior, which is a minor gap.

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?

Three short sentences, zero padding, with the add/edit scope front-loaded and the ID/merge rules following. Every sentence carries actionable information.

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 nested-object upsert with an output schema present and a source for every parameter documented in the schema, the description is nearly complete: it explains the operation's scope, edit targeting, and merge behavior. Only error/validation behavior is unaddressed.

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 description coverage is 100% and the schema already documents every item field, the kind enum, and the media_kit_id source, so the baseline is 3. The description restates the ID-to-edit convention but adds no field-level meaning beyond the schema.

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?

States a specific verb (add or edit) and resource (one media-kit item) and enumerates the four kinds supported. It is immediately distinguishable from siblings like media_kit_remove_item and media_kit_update_content.

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?

Explains the add-vs-edit selection rule ('Existing items use their returned ID') and the update semantics ('omitted item fields stay unchanged'). It does not name an alternative tool for bulk or kit-level edits, so it stops short of full routing guidance.

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