Skip to main content
Glama

nevent_update_short_url

Destructive

Update an existing short URL's configuration. Only provided fields are changed — omitted fields remain unchanged. Changes apply immediately. Use after nevent_list_short_urls to get the id. Supported updates: title, expiresAt (pass null to remove expiration), isActive (true/false), tags (replaces existing), metadata (replaces existing), longUrl (changes redirect destination). Returns the updated ShortUrlDTO. WRITE operation — requires STANDARD or FULL operation mode. In READ_ONLY mode this tool returns an operation_not_permitted error immediately without making any API call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMongoDB ObjectId of the short URL (24 hex characters). Obtain from nevent_list_short_urls response field "id".
tagsNoNew tag list. Replaces (not merges) the existing tags.
titleNoNew descriptive title (max 200 chars). Replaces the existing title.
longUrlNoNew destination URL. Changes where existing links redirect to — takes effect immediately.
isActiveNoActivate (true) or deactivate (false) the short URL. Deactivated links stop redirecting immediately.
metadataNoNew metadata object. Replaces (not merges) the existing metadata.
expiresAtNoNew expiration date/time (ISO 8601). Pass null to remove an existing expiration and make the link permanent. Omit this field entirely to leave expiration unchanged.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond readOnlyHint=false and destructiveHint=true, the description discloses partial-update semantics ('only provided fields are changed — omitted fields remain unchanged'), immediate effect, replace-vs-merge behavior for tags/metadata, the shortUrlDTO return value, and the exact READ_ONLY-mode failure ('returns an operation_not_permitted error immediately without making any API call'). This materially exceeds what annotations alone convey. No contradiction with the annotations.

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?

Purpose is front-loaded in the first sentence, followed by one distinct fact per sentence: partial update, immediacy, id sourcing, supported fields, return type, mode gating. The field enumeration is partly redundant with the schema but earns its place as a single-summary of update behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema present, the description closes the return-value gap by stating 'Returns the updated ShortUrlDTO.' It also covers the READ_ONLY failure path, destructive semantics, and per-field change behavior for a 7-parameter mutation with nested objects — little is left for the agent to infer.

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%, so every parameter is already documented with behavior ('pass null to remove an existing expiration', 'replaces — not merges — the existing tags'). The description repeats these same semantics rather than adding new meaning, which is the baseline-3 case for high coverage.

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 and resource: 'Update an existing short URL's configuration.' The scoped field list ('title, expiresAt, isActive, tags, metadata, longUrl') plus the sequencing note 'Use after nevent_list_short_urls' clearly distinguishes it from the create/get siblings (nevent_create_short_url, nevent_get_short_url). No ambiguity remains about what this tool does.

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?

Explicitly tells the agent when to call it: 'Use after nevent_list_short_urls to get the id.' The WRITE-operation / READ_ONLY-mode warnings also tell the agent when the call will fail. It never names an explicit exclusion (e.g., 'use nevent_create_short_url to create instead'), but for a single-purpose mutation the sequencing guidance supplies enough context.

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.

TDQS

A3.6/5.0
Disambiguation3/5

Most domain groups are distinct, but the campaign reporting cluster has three tools returning overlapping engagement metrics (get_campaign, get_campaign_metrics, campaign_report), and paid_ads_status vs paid_ads_health have fuzzy boundaries. The detailed descriptions mitigate but do not eliminate the risk of an agent calling the wrong tool.

Naming Consistency3/5

All names use the nevent_ prefix and snake_case, and most CRUD operations follow verb_noun. However, several tools reverse the order or drop the verb entirely (segment_preview, segment_execute, campaign_report, paid_ads_status, analytics_query), making the convention mixed but still readable.

Tool Count1/5

With 59 tools, this is far above the 25+ 'too many' threshold and falls into the 50+ extreme range. The broad domain coverage explains some of the size, but for an agent the set is likely to be overwhelming and harder to navigate than a more focused server.

Completeness3/5

The core marketing workflow (segments, templates, campaign creation, quote, schedule, metrics) is covered, but there is no way to update, cancel, or delete a campaign, and templates and segments lack delete operations. These are notable lifecycle gaps that agents will hit when users want to change or clean up resources.