Skip to main content
Glama
junna-legal
by junna-legal

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
database-queryA

Execute SQL queries against a SQLite database (SELECT, INSERT, UPDATE, DELETE). Use operation 'list-tables' to discover available tables. Mutation queries require 'allow_mutation: true' for safety.

api-connectorA

Make HTTP requests to any REST API with custom headers, JSON body, retry, and configurable timeout. Returns the response status, headers, and body.

file_readA

Read the contents of a text file. The path must be relative to the sandbox base directory.

file_writeA

Write content to a text file. Creates parent directories if needed. Set overwrite to true to replace existing files.

file_listA

List entries in a directory. Returns files and subdirectories sorted with directories first.

file_searchA

Search for files matching a glob pattern (e.g. '**/*.ts'). Returns relative paths within the sandbox.

file_infoA

Get metadata about a file or directory including size, modification date, and permissions.

cacheC

Key-value cache with TTL and namespaces. Operations: set, get, delete, list, clear.

semantic_indexA

Index a document into a collection for semantic search. Text is automatically chunked and embedded using a local ML model (no API calls). Use document_id to replace an existing document.

semantic_searchA

Search a collection for documents semantically similar to a query. Returns top-k results ranked by cosine similarity. The collection must have been indexed first with semantic_index.

semantic_clearA

Clear all indexed documents from a collection. This action is irreversible.

webhook_registerA

Register a webhook callback URL to receive event notifications. Specify the URL, event types to subscribe to, and an optional HMAC secret for signature verification.

webhook_sendA

Send a notification to all registered webhooks matching the event type. Supports idempotency keys to prevent duplicate deliveries and HMAC-SHA256 signatures.

task_createB

Create an async task for tracking long-running operations. Tasks have a TTL and can optionally trigger webhook notifications on status changes.

task_statusA

Get the current status of an async task, or update its status. Supports status transitions: pending->running, running->completed/failed. When a task reaches a terminal state, its configured webhook event is fired.

Prompts

Interactive templates invoked by user choice

NameDescription
analyze-codebaseGuide for indexing and searching a codebase using semantic search. Provide the project path and optional focus area.
async-workflowGuide for building webhook-driven async pipelines. Helps design event flows, register webhooks, create tasks, and handle notifications.
data-analysisAnalyze database query results with structured reasoning. Provide the table name and analysis goal to get a tailored prompt.
cache-strategyDesign a caching strategy for your use case. Provide context about what you're caching and get guidance on TTL, namespaces, and invalidation.

Resources

Contextual data attached and managed by the client

NameDescription
semantic-collectionsList all indexed semantic search collections with chunk counts.
semantic-collection-statsGet stats for a specific collection: chunk count, document count, average chunk size, timestamps.
webhook-hooks-listList all registered webhook endpoints with their event subscriptions.
webhook-task-detailGet the status and result of an async task by its ID.
server-configCurrent server configuration (read-only). Sensitive values are redacted.
db-tables-listList all user-created tables in the database.
db-table-schemaDatabase table schema information. Use table name to get columns, types, and constraints for a specific table.
cache-namespacesList all cache namespaces with key counts and total sizes. Expired entries are excluded from counts.
cache-namespace-detailList all keys within a specific cache namespace, including size and expiration info. Expired entries are excluded.

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/junna-legal/mcp-starter-kit'

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