Skip to main content
Glama

compare_segments

Analyze two document segments to identify shared themes, unique terms, and similarity scores, helping understand relationships between chapters or sections.

Instructions

Compare two segments to find shared themes, unique terms, and similarity.

Useful for understanding relationships between chapters.

Args: segment_id_a: ID of the first segment to compare. segment_id_b: ID of the second segment to compare. find_bridges: Find intermediate segments that connect the two. max_bridges: Maximum number of bridge segments to return.

Returns: Comparison result with similarity and themes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segment_id_aYes
segment_id_bYes
find_bridgesNo
max_bridgesNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rixmerz/bigcontext_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server