Skip to main content
Glama

get_ui_state

Read the current podcast session state and get workflow guidance on video, transcript status, clip suggestions, and next steps before creating or modifying clips.

Instructions

Read the current podcli session state and get guidance on what to do next. Returns: video path, transcript status, clip suggestions, settings, and workflow next steps.

IMPORTANT: Call this FIRST when starting a new conversation to understand the current state. Clips are numbered #1, #2, etc. Use these numbers with create_clip(clip_number), batch_create_clips(clip_numbers), modify_clip, and toggle_clip.

Set include_transcript=true to analyze transcript content. Returns a compact phrase-grouped markdown view (~10x smaller than raw segments) with speaker attribution, silence gaps, and optional energy peaks: the primary surface for reasoning about clip boundaries.

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

Input Schema

NameRequiredDescriptionDefault
include_transcriptNoInclude full transcript segments in the response. Set true when analyzing content for clip suggestions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it marks the tool as a read operation, lists returned state fields, and explains that include_transcript produces a compact markdown view with speaker attribution and silence gaps. It does not discuss permissions, side effects, or rate limits, though the read-only framing makes those less critical.

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 description is front-loaded with purpose, returns, first-call importance, clip numbering, and transcript behavior. Most sentences earn their place, though the multiple paragraphs and uppercase IMPORTANT make it slightly heavier than necessary.

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?

For a low-complexity tool with one optional parameter and no output schema, the description is complete: it explains the return surface, when to call it first, how clip numbers are used downstream, and what include_transcript changes.

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?

The schema already documents include_transcript at 100% coverage, but the description adds useful meaning: set it true to analyze transcript content and expect a compact phrase-grouped view roughly 10x smaller than raw segments, with speaker attribution and optional energy peaks. There is slight tension with the schema's phrase 'full transcript segments,' but the parameter's intended use is still clarified.

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 states a specific verb and resource: reading current podcli session state, plus guidance for next steps. It also names what is returned and distinguishes the tool's role from clip-mutating siblings by explaining clip numbering.

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 gives a clear first-call instruction for new conversations and tells the agent to use returned clip numbers with create_clip, batch_create_clips, modify_clip, and toggle_clip. It does not explicitly state when not to use this tool or name alternatives for reading state.

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