Skip to main content
Glama

gsep_chat

Protect AI agents by sending messages through a pipeline that scans for prompt injection, evolves prompts, checks behavior, filters actions, and tracks fitness for autonomous improvement.

Instructions

Send a message through the full GSEP pipeline. Runs C3 prompt injection scan, enhanced LLM call with evolved genes, C4 behavioral immune check, C5 action firewall, fitness tracking, and autonomous evolution. Returns the protected response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoYour LLM API key (ANTHROPIC_API_KEY or OPENAI_API_KEY). Required if not set as server env var.
messageYesUser message to send through the full GSEP pipeline
user_idNoUser identifier for personalization and per-user epigenomes
genome_idYesUnique identifier for this agent genome (e.g. "my-assistant")
task_typeNoTask type hint (e.g. "support", "coding", "general")
llm_providerNoLLM provider to use. Auto-detected from api_key if omitted.
Behavior3/5

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

No annotations are provided, so the description carries full burden. It lists pipeline stages (C3, enhanced LLM call, C4, C5, fitness tracking, autonomous evolution) and says it returns a protected response. However, it does not disclose potential side effects, state changes, or prerequisites beyond the API key parameter.

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 short (two sentences) and front-loaded with the main action. The list of steps could be better structured (e.g., numbered), but it is still concise and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters, no output schema, and no annotations, the description covers the pipeline but lacks details on return format, error behavior, or parameter interactions. It is minimally adequate but leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with parameter descriptions in the input schema. The description adds no parameter-specific information. Baseline of 3 is appropriate since the schema already provides meaning.

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 clearly states it sends a message through the full GSEP pipeline and lists the steps (C3, enhanced LLM, etc.). This distinguishes it from siblings like gsep_scan_input or gsep_scan_output, which handle only subtasks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the main chat endpoint but does not explicitly state when to use it versus individual scan tools (e.g., gsep_scan_input). No guidance on prerequisites or when not to use it.

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

Install Server

Other Tools

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/gsepcore/gsep-mcp'

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