Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort to listen on for HTTP transports (streamableHttp or sse). Defaults to 3001.
LYZR_API_KEYYesYour Lyzr API key. Required for stdio transport; for HTTP transports, provide the key via the x-api-key or Authorization header instead.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
lyzr_create_agentA

Create a new Lyzr agent. Returns the new agent_id to use with lyzr_chat.

lyzr_update_agentA

Update fields (name/role/goal/instructions/temperature/description) on an existing Lyzr agent.

lyzr_delete_agentA

Permanently delete a Lyzr agent by its agent_id.

lyzr_list_agentsB

List the agents available to your Lyzr API key.

lyzr_get_agentA

Fetch the details of a single Lyzr agent by its agent_id.

lyzr_chatB

Send a message to a Lyzr agent and get its response.

lyzr_stream_chatA

Send a message to a Lyzr agent over the streaming endpoint; streams progress and returns the full response.

lyzr_start_taskA

Submit a long-running task to a Lyzr agent. Returns a task_id to poll with lyzr_get_task_status.

lyzr_get_task_statusA

Check the status and (when complete) result of a long-running Lyzr task.

lyzr_session_createC

Create a new session.

lyzr_session_create_for_agentA

Create a new session bound to a specific agent.

lyzr_session_getB

Fetch a session by id.

lyzr_session_updateC

Update an existing session by id.

lyzr_session_deleteB

Permanently delete a session by id.

lyzr_session_history_by_agentB

Fetch a session's message history for a specific agent.

lyzr_session_historyB

Fetch a session's message history.

lyzr_session_summaryB

Fetch a session's summary.

lyzr_session_conversationB

Fetch a session's conversation.

lyzr_agent_sessionsB

List sessions for an agent.

lyzr_agent_published_sessionsB

List published sessions for an agent.

lyzr_agent_id_by_nameB

Resolve an agent id by its name.

lyzr_agent_create_single_taskC

Create a single-task template agent.

lyzr_agent_update_single_taskC

Update a single-task template agent by id.

lyzr_session3_createB

Create a new v3 session, optionally tied to an agent.

lyzr_session3_listA

List v3 sessions, optionally filtered by agent or source.

lyzr_session3_getA

Fetch a v3 session by id.

lyzr_session3_updateA

Update a v3 session's metadata.

lyzr_session3_deleteA

Permanently delete a v3 session by id.

lyzr_session3_list_messagesA

List messages in a v3 session, with optional filters.

lyzr_session3_branchA

Branch a v3 session off from a specific message.

lyzr_session3_list_branchesA

List the branches created from a v3 session.

lyzr_session3_treeA

Get the full branch tree rooted at a v3 session.

lyzr_session3_ancestryA

Get the ancestry chain of a v3 session, root to leaf.

lyzr_set_agent_statusB

Activate or deactivate an agent.

lyzr_set_agent_lockA

Lock or unlock an agent, optionally scoped to an environment.

lyzr_bulk_delete_agentsA

Permanently delete multiple agents by id.

lyzr_list_org_agentsA

List agents across the organization, with optional search and pagination.

lyzr_list_agent_versionsA

List the version history of an agent.

lyzr_get_agent_versionB

Fetch a specific version of an agent.

lyzr_activate_agent_versionA

Activate a specific version of an agent, making it the live version.

lyzr_clone_agentA

Create a copy of an existing agent.

lyzr_reassign_agentA

Reassign ownership of an agent to another user by email.

lyzr_publish_agentsC

Publish one or more agents with a given access level.

lyzr_kb_createA

Create a RAG knowledge base. Returns its id.

lyzr_kb_getA

Fetch a knowledge base by id.

lyzr_kb_listB

List knowledge bases for a user.

lyzr_kb_train_textC

Ingest text chunks into a knowledge base.

lyzr_kb_train_websiteA

Crawl and ingest one or more URLs into a knowledge base.

lyzr_kb_queryB

Retrieve relevant chunks from a knowledge base.

lyzr_kb_list_documentsB

List the documents indexed in a knowledge base.

lyzr_kb_deleteA

Permanently delete a knowledge base by id.

lyzr_kb_updateA

Update a knowledge base config by id. Provide the fields to change via extra_fields.

lyzr_kb_bulk_deleteB

Permanently delete multiple knowledge base configs by id.

lyzr_kb_train_documentsB

Ingest an array of document objects into a knowledge base. Each document is a free-form object.

lyzr_kb_delete_docsA

Delete documents from a knowledge base by their document ids.

lyzr_kb_delete_docs_by_filterA

Delete documents from a knowledge base matching a filter and/or a list of document ids.

lyzr_kb_update_docs_metadataA

Update metadata on documents in a knowledge base matching a filter.

lyzr_kb_resetB

Clear all documents from a knowledge base.

lyzr_parse_websiteA

Parse a website URL into chunks (no knowledge base required).

lyzr_parse_website_apifyA

Parse a website URL into chunks using the Apify crawler backend.

lyzr_parse_textB

Parse raw text into chunks (no knowledge base required).

lyzr_classifyB

Classify text against a set of rules; returns the matching label(s).

lyzr_credential_createB

Create a new credential. Returns the created credential.

lyzr_credential_listB

List all credentials.

lyzr_credential_getA

Fetch a credential by id.

lyzr_credential_updateA

Update an existing credential. All fields optional.

lyzr_credential_deleteA

Permanently delete a credential by id.

lyzr_livesource_list_credentialsA

List credentials available for use with live sources.

lyzr_livesource_addA

Add a live source to a knowledge base. Returns the created live source.

lyzr_livesource_listA

List live sources for a knowledge base.

lyzr_livesource_getB

Fetch a live source by id.

lyzr_livesource_removeA

Permanently remove a live source from a knowledge base.

lyzr_livesource_syncB

Trigger a sync for a live source.

lyzr_livesource_pauseA

Pause syncing for a live source.

lyzr_livesource_resumeA

Resume syncing for a paused live source.

lyzr_livesource_repointA

Repoint a live source to a new credential. Existing webhook subscriptions are re-created.

lyzr_kg_train_websiteA

Crawl and ingest one or more URLs into the v4 knowledge graph.

lyzr_kg_train_textC

Ingest text into the v4 knowledge graph.

lyzr_kg_train_text_taskA

Ingest text into the v4 knowledge graph as an async task; returns a task id to poll.

lyzr_kg_get_graphB

Fetch the knowledge graph for a knowledge base.

lyzr_kg_deduplicateC

Deduplicate entities in a knowledge base's graph.

lyzr_kg_task_statusA

Poll the status of an async knowledge graph task.

lyzr_livesource_ext_sync_permissionsA

Sync access permissions for a live source (e.g. re-check SharePoint ACLs).

lyzr_livesource_ext_browse_sitesA

List SharePoint sites accessible via a stored credential.

lyzr_livesource_ext_browse_drivesA

List drives within a SharePoint site.

lyzr_livesource_ext_browse_childrenA

List files/folders within a SharePoint drive folder.

lyzr_livesource_ext_validate_accessA

Validate that a credential has access to the given SharePoint site/drive URLs.

lyzr_livesource_ext_webhook_getB

Webhook subscription validation handshake for live source notifications.

lyzr_livesource_ext_webhook_postC

Send a live source webhook notification payload (e.g. from a SharePoint change feed).

lyzr_kg_ext_train_fileC

Upload a file (base64-encoded) to train the Neo4j knowledge graph.

lyzr_kg_ext_train_file_neo4jC

Upload a file (base64-encoded) to train the Neo4j knowledge graph (namespaced endpoint).

lyzr_kg_ext_train_file_taskC

Upload a file (base64-encoded) to train the Neo4j knowledge graph as an async task.

lyzr_kg_ext_train_file_task_neo4jA

Upload a file (base64-encoded) to train the Neo4j knowledge graph as an async task (namespaced endpoint).

lyzr_kg_ext_train_website_neo4jC

Crawl and ingest websites into the Neo4j knowledge graph (namespaced endpoint).

lyzr_kg_ext_train_text_neo4jB

Ingest text into the Neo4j knowledge graph (namespaced endpoint).

lyzr_kg_ext_train_text_task_neo4jB

Ingest text into the Neo4j knowledge graph as an async task (namespaced endpoint).

lyzr_kg_ext_get_graph_neo4jA

Fetch the Neo4j knowledge graph nodes for a RAG system (namespaced endpoint).

lyzr_kg_ext_deduplicate_neo4jB

Deduplicate entities in the Neo4j knowledge graph for a RAG system (namespaced endpoint).

lyzr_extractB

Extract structured data from a file (base64), a file URL, or raw text, according to an extraction schema.

lyzr_rag_get_doc_contentA

Get the full stored content (chunks) of a single document source in a knowledge base.

Prompts

Interactive templates invoked by user choice

NameDescription
draft_support_agentDraft name/role/goal/instructions for a Lyzr customer-support agent, ready for lyzr_create_agent.
summarize_conversationSummarize the recent conversation with a Lyzr agent into key points and action items.
setup_rag_agentCreate a knowledge base, train it from a source, and create an agent grounded on a topic — end to end.
draft_guardrail_policyRecommend Responsible-AI guardrails for a use case, then create the policy with lyzr_rai_create_policy.
draft_a2a_agentDraft the config for a Lyzr agent-to-agent (A2A) agent, ready for lyzr_create_a2a_agent.
audit_agent_activityPull an agent's recent traces + audit logs and summarize errors, latency, and notable events.

Resources

Contextual data attached and managed by the client

NameDescription
lyzr-agentsAll agents available to your Lyzr API key.
lyzr-workflowsAll workflows available to your Lyzr API key.
lyzr-a2a-agentsAll A2A (agent-to-agent) agents on your Lyzr API key.
lyzr-tracesRecent execution traces across your agents.

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/nandanNM/lyzr-mcp'

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