Skip to main content
Glama

get_metadata

Retrieve document metadata, structure, and key terms to analyze content organization and identify important topics using TF-IDF scoring.

Instructions

Get metadata, structure, and statistics for a document or segment.

Includes top terms by TF-IDF.

Args: document_id: ID of the document to get metadata for. segment_id: ID of the segment to get metadata for. include_structure: Include document structure in response. top_terms: Number of top terms to return (default: 10).

Returns: Metadata including structure and top terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idNo
segment_idNo
include_structureNo
top_termsNo

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