Skip to main content
Glama
l4b4r4b4b4

bim2sim-mcp

by l4b4r4b4b4

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LANGFUSE_HOSTNoLangfuse host URLhttps://cloud.langfuse.com
LANGFUSE_PUBLIC_KEYNoLangfuse public key
LANGFUSE_SECRET_KEYNoLangfuse secret key

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{
  "tasks": {
    "list": {},
    "cancel": {},
    "requests": {
      "tools": {
        "call": {}
      },
      "prompts": {
        "get": {}
      },
      "resources": {
        "read": {}
      }
    }
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
enable_test_contextA

Enable or disable test context mode for Langfuse attribution demos.

When enabled, all traces will include user_id, session_id, and metadata from the MockContext. This allows testing Langfuse filtering and aggregation without a real FastMCP authentication setup.

Args: enabled: Whether to enable test context mode (default: True).

Returns: Status dict with current test mode state and context values.

set_test_contextA

Set test context values for Langfuse attribution demos.

Changes here affect what user_id, session_id, and metadata are sent to Langfuse traces. Use this to test filtering by different users or sessions in the Langfuse dashboard.

Args: user_id: User identity (e.g., "alice", "bob"). org_id: Organization identity (e.g., "acme", "globex"). session_id: Session identifier for grouping traces. agent_id: Agent identity (e.g., "claude", "gpt4").

Returns: Updated context state and example of Langfuse attributes.

reset_test_contextB

Reset test context to default demo values.

Returns: Reset context state.

get_trace_infoA

Get information about the current Langfuse trace and context.

Returns metadata about Langfuse tracing status and current context values for debugging.

Returns: Dict with Langfuse configuration and current context.

get_cached_resultA

Retrieve a cached result, optionally with pagination.

Use this to:

  • Get a preview of a cached value

  • Paginate through large lists

  • Access the full value of a cached result

All cache operations are traced to Langfuse with hit/miss status.

Args: ref_id: Reference ID to look up. page: Page number (1-indexed). page_size: Items per page. max_size: Maximum preview size (overrides defaults).

Returns: The cached value or a preview with pagination info.

Caching: Large results are returned as references with previews.

Pagination: Use page and page_size to navigate results.

References: This tool accepts ref_id from previous tool calls.

health_checkA

Check server health status.

Returns: Health status information including Langfuse tracing status.

admin_list_referencesA

List cached references with optional filtering.

⚠️ ADMIN ONLY - Requires elevated permissions.

Args: namespace: Filter by namespace (e.g., 'public', 'user:alice'). include_expired: Include expired references in results. include_preview: Include value previews in results. limit: Maximum number of results (default: 50, max: 100). offset: Offset for pagination.

Returns: Dictionary with references list and pagination info.

admin_get_reference_infoA

Get detailed information about a cached reference.

⚠️ ADMIN ONLY - Requires elevated permissions.

Args: ref_id: The reference ID to look up.

Returns: Dictionary with detailed reference information (value not included).

admin_delete_referenceA

Delete a specific cached reference.

⚠️ ADMIN ONLY - Requires elevated permissions. ⚠️ DESTRUCTIVE - This action cannot be undone.

Args: ref_id: The reference ID to delete.

Returns: Confirmation of deletion or error.

admin_clear_namespaceA

Clear all references in a namespace.

⚠️ ADMIN ONLY - Requires elevated permissions. ⚠️ DESTRUCTIVE - This action cannot be undone.

Args: namespace: The namespace to clear (e.g., 'user:alice'). include_children: Also clear child namespaces (default: True).

Returns: Confirmation with count of deleted references.

admin_get_cache_statsA

Get detailed cache statistics.

⚠️ ADMIN ONLY - Requires elevated permissions.

Returns: Dictionary with cache statistics including: - Total references and counts by namespace - Active vs expired reference counts - Value type breakdown - Cache configuration

Prompts

Interactive templates invoked by user choice

NameDescription
_template_guideGuide for using this MCP server template.
_langfuse_guideGuide for using Langfuse tracing with this server.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation4/5

Tools are mostly distinct, with clear separation between test context management, cache admin operations, and health check. The only minor overlap is between admin_get_reference_info and get_cached_result, but the distinction (metadata vs. value) is clear.

Naming Consistency4/5

Non-admin tools follow a verb_noun pattern (enable_test_context, set_test_context, get_cached_result), while admin tools consistently use an 'admin_' prefix. This is a predictable convention, though health_check is a slight deviation.

Tool Count5/5

11 tools is well-scoped for a caching and tracing server, covering test context, cache retrieval, admin functions, and health monitoring without unnecessary bloat.

Completeness4/5

Cache operations cover retrieval, deletion, listing, info, stats, and namespace clearing, which is comprehensive. Test context has enable, set, reset, and get info. The only gap is no explicit cache creation tool, but that is likely automatic from other operations.

Maintenance

ActivityInactive
ResponsivenessNo issues