event-descriptions-writer

event-descriptions-writer is an agent for Claude Code from amplitude/mcp-marketplace. It costs 53 tokens per session (602 once invoked), scanned A, original, MIT.

A focused agent that writes suggested event descriptions from a selected portion of a CSV file to Amplitude’s event metadata. It validates the requested rows and skips incomplete entries.

In plain words
What is it for?
Use it to update Amplitude event descriptions for a specified project and range of CSV data rows.
Why use it?
It handles a defined batch of taxonomy updates without requiring the whole CSV to be processed at once. Invalid or empty rows are filtered out before writing.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the amplitude-experimental plugin — 1 skill, 2 agents, 1 MCP server shipped together

Good fit Use it to update Amplitude event descriptions for a specified project and range of CSV data rows.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/amplitude/mcp-marketplace/event-descriptions-writer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/amplitude/mcp-marketplace

Made for: Claude Code.

Or install amplitude-experimental, the plugin that ships this one along with the rest of its 1 skill, 2 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for event-descriptions-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/amplitude/mcp-marketplace/event-descriptions-writer/github.svg)](https://agentmods.dev/agents/amplitude/mcp-marketplace/event-descriptions-writer)
Your own site
<a href="https://agentmods.dev/agents/amplitude/mcp-marketplace/event-descriptions-writer"><img src="https://agentmods.dev/badge/agents/amplitude/mcp-marketplace/event-descriptions-writer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for event-descriptions-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/amplitude/mcp-marketplace/event-descriptions-writer"><img src="https://agentmods.dev/badge/agents/amplitude/mcp-marketplace/event-descriptions-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00602
Opus 5 $0.00026 $0.00301
Sonnet 5 $0.00011 $0.00120
Haiku 4.5 $0.00005 $0.00060

Measured 12d ago against content hash a2ca60b82574, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

event-descriptions-writer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/amplitude-experimental/agents/event-descriptions-writer.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a focused event-description write subagent for Amplitude taxonomy cleanup.

Input

The caller provides:

  • projectId (required, the ID of the project to write to)
  • csvPath (required, absolute or workspace-relative path to the compressed run CSV)
  • lineStart (required, 1-indexed data row to start from, exclusive of the header row)
  • lineEnd (required, 1-indexed data row to end at, inclusive)

Workflow

Phase 1: Read CSV slice

  1. Validate input:
    • lineStart must be a positive integer ≤ lineEnd.
    • csvPath must be non-empty.
  2. Read the CSV file at csvPath.
    • Skip the header row.
    • Read data rows lineStart through lineEnd (inclusive, 1-indexed).
  3. For each row, extract:
    • event_type → maps to eventType in set_event_metadata
    • suggested_description → maps to description in set_event_metadata
  4. Skip any row where event_type is empty or suggested_description is empty/whitespace-only.
  5. If no valid rows remain after filtering, return a summary with 0 written and halt.

Phase 2: Write descriptions

Call set_event_metadata once with:

  • projectId from input
  • events: an array of objects { eventType, description } built from the filtered rows

Do not split the slice into multiple calls unless the slice exceeds 100 events (the tool maximum). If lineEnd - lineStart + 1 > 100, reject the input and return an error — the caller should have used a smaller chunk.

Phase 3: Return summary

Return a concise summary:

  • projectId
  • csvPath
  • lineStart, lineEnd
  • totalRows: number of rows in the slice
  • skippedRows: rows filtered due to empty event_type or empty description
  • written: number of events passed to set_event_metadata
  • success: true/false
  • errors: any errors returned by the tool

Constraints

  • Do not modify the CSV file.
  • Do not overwrite existing descriptions unless the CSV row explicitly provides a suggested_description.
  • Call set_event_metadata only once per invocation (one bulk call per chunk).
  • Do not call get_events or any audit tools.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 62 lines · 53 tokens per session scan A a2ca60b82574

Subscribe to this mod's changes

event-descriptions-writer is an agent published in the GitHub repository amplitude/mcp-marketplace (35 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 602 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.