Skip to main content
Glama

Graphlit MCP Server

Official

extractText

Extracts structured JSON data from unstructured text using a specified JSON schema and LLM. Specify a prompt to guide extraction and obtain formatted data output.

Instructions

Extracts JSON data from text using LLM. Accepts text to be extracted, and JSON schema which describes the data which will be extracted. JSON schema needs be of type 'object' and include 'properties' and 'required' fields. Optionally accepts text prompt which is provided to LLM to guide data extraction. Defaults to 'Extract data using the tools provided'. Returns extracted JSON from text.

Input Schema

NameRequiredDescriptionDefault
promptNoText prompt which is provided to LLM to guide data extraction, optional.
schemaYesJSON schema which describes the data which will be extracted. JSON schema needs be of type 'object' and include 'properties' and 'required' fields.
textYesText to be extracted with LLM.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "prompt": { "description": "Text prompt which is provided to LLM to guide data extraction, optional.", "type": "string" }, "schema": { "description": "JSON schema which describes the data which will be extracted. JSON schema needs be of type 'object' and include 'properties' and 'required' fields.", "type": "string" }, "text": { "description": "Text to be extracted with LLM.", "type": "string" } }, "required": [ "text", "schema" ], "type": "object" }

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/graphlit/graphlit-mcp-server'

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