Skip to main content
Glama

update_settings

Configure and persist video-reader limits, fetch modes, keyframe counts, comment limits, and cache rules immediately; use reset to restore all defaults.

Instructions

Update and persist agy-video-reader settings (takes effect immediately).

Args: max_duration_seconds: Max allowed video/slice duration in seconds (30..1800, default 300). max_height: Max video height in pixels (360, 480, 720, or 1080; default 480). max_size_mb: Max MP4 file size in MB before ffmpeg compression (5..100, default 25). default_mode: Default fetch mode: 'auto', 'video', or 'frames_and_text'. keyframe_count: Number of keyframes extracted in frames_and_text mode (4..20, default 8). default_comment_limit: Default number of hot comments to fetch (5..50, default 30). cache_max_entries: Max LRU cache entries (2..100, default 12). cache_max_mb: Max LRU cache size in MB (50..2048, default 300). cache_max_age_hours: Max LRU cache retention in hours (1..168, default 24). reset: If True, resets all settings back to defaults.

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": "update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
resetNo
max_heightNo
max_size_mbNo
cache_max_mbNo
default_modeNo
keyframe_countNo
cache_max_entriesNo
cache_max_age_hoursNo
max_duration_secondsNo
default_comment_limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses that changes persist and apply immediately, and documents the reset flag's destructive scope (all settings back to defaults). It omits important behavior for a 10-parameter all-optional mutation tool — whether unspecified parameters are preserved, whether reset overrides other arguments, and whether changes are reversible.

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?

The one-line summary is front-loaded and the per-parameter list is dense but earns its space given zero schema coverage. It is longer than typical, but the length is justified by ten undocumented parameters; little could be cut without losing constraint 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?

An output schema exists, so return values need not be described, and the description fully covers all ten parameters with ranges and defaults. The only substantive omission relative to tool complexity is the merge/patch semantics of passing a subset of settings.

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 0% (all properties are untyped-optional with null defaults, no enums, no descriptions), so this Args block does real work: it supplies value ranges (30..1800, 5..100, 4..20), application defaults (300, 480, 25, 8), and an enumeration for default_mode that the schema lacks entirely. The remaining gap is that null/omission semantics are never stated.

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 and resource ("Update and persist agy-video-reader settings") and adds a scope note that changes take effect immediately. It is clearly a mutation tool, implicitly distinguishable from the read-only sibling open_settings, but it never names or contrasts that sibling explicitly.

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?

No guidance on when to call this instead of open_settings, no prerequisites or permission notes, and no statement of the partial-update contract (whether omitted/null parameters are left unchanged or reset). The only usage hint is the derived note that changes take effect immediately.

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