Skip to main content
Glama

Diogenes Agent Core Essentials MCP

Server Details

Curated 10-tool high-utility MCP pack: markdown, JSON repair, SQL AST, PII, and context pruning.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2024-11-05
URL
Repository
stand-out-of-my-sun/diogenes-agent-core-mcp
GitHub Stars
0
Server Listing
Diogenes Agent Core Essentials MCP
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct operation (fee estimation, query expansion, markdown extraction, JSON repair, token budgeting, context pruning, PII redaction, regex synthesis, SQL validation, command screening), and every description explicitly names the adjacent tool and when to prefer it over this one. The counting-vs-compressing and syntax-vs-schema boundaries are spelled out, leaving little room for misselection.

Naming Consistency5/5

All ten tools use a consistent snake_case verb_noun pattern with concrete, descriptive verbs and objects. Verbs are varied but purposeful (estimate, expand, extract, heal, plan, prune, redact, synthesize, validate, verify) rather than generic duplicates.

Tool Count5/5

Ten tools for an 'agent core essentials' utility belt is well within the sweet spot, and each one covers a self-contained capability with no filler entries. Nothing appears redundant enough to cut.

Completeness4/5

The surface covers a coherent set of agent-safety and context-hygiene primitives, but several descriptions point agents at sibling tools that are not present here (enforce_json_schema_types, sanitize_tool_output_stream, parse_html_tables, filter_domain_intelligence, scrape_readable_article), creating dead-end recommendations. Core workflows still work, but an agent following the cross-references will hit missing tools.

Available Tools

10 tools
estimate_bitcoin_mempool_feesBitcoin Mainnet Mempool Feerate Estimator (sat/vB)A
Read-onlyIdempotent
Inspect

Fetches real-time Bitcoin mainnet mempool feerate recommendations in satoshis per virtual byte (sat/vB) across fastest, half-hour, hour, and economy confirmation tiers. Use when checking current Bitcoin L1 network congestion before broadcasting an on-chain BTC transaction; for calculating exact SegWit/Taproot UTXO batch consolidation vByte weights and dust thresholds, use plan_bitcoin_utxo_consolidation instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'confirmation_target', supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

Inputs: confirmation_target. Returns: Deterministic response schema for estimate_bitcoin_mempool_fees.

expand_search_queriesHigh-Entropy Boolean & Semantic Search Query ExpanderA
Read-onlyIdempotent
Inspect

Generates targeted Boolean queries, semantic synonym variations, and sub-question expansions from an ambiguous prompt. Use when overcoming query vocabulary mismatches and expanding search recall across academic, code, or patent databases; for scoping queries to domain categories, use filter_domain_intelligence instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'base_query' ('expansion_strategy' defaults to 'boolean_operators'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

Inputs: base_query (required), target_count, expansion_strategy. Returns: Deterministic execution response schema for expand_search_queries.

extract_clean_markdownWeb HTML to Clean LLM-Optimized Markdown EngineA
Read-onlyIdempotent
Inspect

Converts raw HTML pages or live web URLs into clean, boilerplate-free, LLM-optimized Markdown with preserved hyperlinks and headings. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for isolating tabular data into structured datasets, use parse_html_tables instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('conversion_mode' defaults to 'clean_semantic_article'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

Inputs: url, html_content, preserve_links, conversion_mode. Returns: Deterministic execution response schema for extract_clean_markdown.

heal_malformed_jsonDeterministic Malformed JSON Syntax & Truncation HealerA
Read-onlyIdempotent
Inspect

Deterministic JSON syntax repair: normalizes quotes, unclosed brackets, and boolean literals into compliant RFC 8259 JSON structure without data deletion. Use when fixing syntax-broken JSON strings that fail JSON.parse(); for coercing field types and verifying properties on already-parseable JSON objects against a target JSON Schema, use enforce_json_schema_types instead. Read-only edge call (32 KB, 60 RPM): accepts 'malformed_json' (with enum defaults), uses '?demo=true' or L402 (15 sats); HTTP 400 if invalid.

Inputs: malformed_json (required), repair_mode. Returns: Deterministic response schema for heal_malformed_json.

plan_context_token_budgetBPE Token Budget, Attention Trough & Multi-Model Cost PlannerA
Read-onlyIdempotent
Inspect

Counts subword BPE tokens across prompt segments, detects high-priority instructions trapped in the 35%–72% Lost-in-the-Middle attention trough, and calculates USD/satoshi costs across frontier LLMs. Use when auditing prompt token budgets, reordering prompt sections for primacy/recency attention, or comparing model API costs; for actively compressing and stripping low-salience lines from a single large file, use prune_context_skeleton instead. Read-only edge call (32 KB, 60 RPM): accepts 'segments_json' (with enum defaults), uses '?demo=true' or L402 (10 sats); HTTP 400 if invalid.

Inputs: segments_json (required), max_context_tokens, target_model_family. Returns: Deterministic response schema for plan_context_token_budget.

prune_context_skeletonAST-Aware Context Window & Source Code Skeleton PrunerA
Read-onlyIdempotent
Inspect

Compresses large source files, logs, or transcripts by 50–80% to fit an LLM context budget while preserving 100% of function/class/type signatures, imports, error frames, and query-matched lines. Use when shrinking oversized source files or logs before feeding them into an LLM prompt; for counting BPE tokens across prompt segments and calculating multi-model inference costs without altering text, use plan_context_token_budget instead. Read-only edge call (32 KB, 60 RPM): accepts 'content' (with enum defaults), uses '?demo=true' or L402 (10 sats); HTTP 400 if invalid.

Inputs: content (required), focus_query, pruning_mode, target_ratio. Returns: Deterministic response schema for prune_context_skeleton.

redact_sensitive_piiZero-PII & Secret Credential Redaction EngineA
Read-onlyIdempotent
Inspect

Redacts emails, phone numbers, SSNs, credit cards, API keys, and crypto private keys from text before logging or external transmission. Use when stripping personal data or secret credentials from prompts, logs, or outbound messages; for neutralizing indirect prompt injections and invisible Unicode in inbound tool responses, use sanitize_tool_output_stream instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('redaction_style' defaults to 'typed_token'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.

Inputs: text (required), redaction_style. Returns: Deterministic response schema for redact_sensitive_pii.

synthesize_safe_regexLinear-Time O(n) ReDoS-Safe Regular Expression Synthesizer & TesterA
Read-onlyIdempotent
Inspect

Synthesizes linear-time O(n) regular expressions free of catastrophic backtracking (ReDoS) and validates them against positive and negative test strings. Use when generating and verifying a regular expression pattern for input validation or lexical parsing; for repairing broken JSON syntax directly without writing custom regexes, use heal_malformed_json instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'description' ('flavor' defaults to 'ecmascript_js'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: description (required), flavor. Returns: Deterministic response schema for synthesize_safe_regex.

validate_sql_query_astAST-Level Read-Only SQL Query & Injection Safety ValidatorA
Read-onlyIdempotent
Inspect

Performs static AST syntax tree parsing on SQL statements to verify strictly read-only SELECT clauses and reject mutations, stacked queries, or comment bypasses. Use when verifying that an agent-authored SQL statement is strictly read-only before running it on a database; for screening non-SQL bash commands or general agent prompts, use verify_agent_command_safety instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sql_statement' ('dialect' defaults to 'postgres'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

Inputs: sql_statement (required), dialect. Returns: Deterministic response schema for validate_sql_query_ast.

verify_agent_command_safetyAutonomous Agent Pre-Execution Command & Prompt Injection GateA
Read-onlyIdempotent
Inspect

Evaluates untrusted agent prompts, bash commands, and tool arguments to block prompt injection, destructive shell commands, and private-key exfiltration. Use when screening a general shell command or user prompt before autonomous agent execution; for statically validating SQL database queries at the AST level, use validate_sql_query_ast instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'payload' ('action_type' defaults to 'bash_command'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.

Inputs: payload (required), action_type. Returns: Deterministic response schema for verify_agent_command_safety.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables developers and AI agents to compress context, plan token budgets, rerank results, patch code, analyze ASTs and dependencies, isolate stack traces, compile polyglot types, solve deterministic math, schedule constraints, judge A/B tests, and diff agent memory checkpoints through 12 specialized tools.
      15
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to run seven local text and data utilities, including JSON formatting, CSV inspection, text analysis and diffing, hashing, timestamp conversion, and URL component parsing. Everything runs offline in memory with no API keys, models, or outbound requests.
      7
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Sub-15ms edge intelligence tools for Claude Desktop, Cursor, and LLM agent loops. Provides sub-millisecond LLM JSON repair, web-to-markdown token compression (cuts context tokens up to 90%), PII redaction, and RFC 5322 B2B email deliverability verification at zero marginal token cost.
      6
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.