JSON healing, O(n) ReDoS defense, XML prompt compilation, and schema verification tools.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Evaluates a worker agent's submitted task deliverable against agreed contract acceptance criteria to issue a deterministic escrow settlement verdict ('RELEASE_FUNDS_TO_WORKER_AGENT', 'REQUEST_REVISION', or 'REFUND_CLIENT'). Use when settling multi-agent bounties or verifying subcontractor deliverables before releasing MPP/L402 escrow funds; for checking syntactic JSON Schema property types without evaluating semantic contract terms, use enforce_json_schema_types instead. Read-only call (32 KB, 60 RPM): accepts 'deliverable' (with enum defaults), uses '?demo=true' or MPP (30 sats); HTTP 400 if invalid.
JSON string or text deliverable submitted by the worker agent.
Contract acceptance criteria that the deliverable must satisfy; defaults to 'Complete verified JSON deliverable' when omitted.
Strictness of contract verification; defaults to 'strict_all_criteria' when omitted.
Evaluates a worker agent's submitted task deliverable against agreed contract acceptance criteria to issue a deterministic escrow settlement verdict ('RELEASE_FUNDS_TO_WORKER_AGENT', 'REQUEST_REVISION', or 'REFUND_CLIENT'). Use when settling multi-agent bounties or verifying subcontractor deliverables before releasing MPP/L402 escrow funds; for checking syntactic JSON Schema property types without evaluating semantic contract terms, use enforce_json_schema_types instead. Read-only call (32 KB, 60 RPM): accepts 'deliverable' (with enum defaults), uses '?demo=true' or MPP (30 sats); HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| terms | string | Contract acceptance criteria that the deliverable must satisfy; defaults to 'Complete verified JSON deliverable' when omitted. |
| deliverable* | string | JSON string or text deliverable submitted by the worker agent. |
| arbitration_standard | string | Strictness of contract verification; defaults to 'strict_all_criteria' when omitted. |
{
"type": "object",
"required": [
"deliverable"
],
"properties": {
"terms": {
"type": "string",
"description": "Contract acceptance criteria that the deliverable must satisfy; defaults to 'Complete verified JSON deliverable' when omitted."
},
"deliverable": {
"type": "string",
"description": "JSON string or text deliverable submitted by the worker agent."
},
"arbitration_standard": {
"enum": [
"strict_all_criteria",
"substantial_completion",
"schema_only"
],
"type": "string",
"description": "Strictness of contract verification; defaults to 'strict_all_criteria' when omitted."
}
}
}Deduplicates repetitive lines or records, normalizes Unicode whitespace, strips HTML/control noise, and canonicalizes tabular text or JSON arrays. Use when cleaning noisy scraped lists, CSV rows, or duplicate log lines before indexing or analysis; for extracting typed JSON fields from free-form prose paragraphs, use extract_structured_json_entities instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'data' ('normalization_mode' defaults to 'exact_match'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| data* | string | Raw newline-delimited text, CSV rows, or JSON array string to deduplicate and normalize. |
| normalization_mode | string | Deduplication key sensitivity; defaults to 'case_insensitive_trim' when omitted. |
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Raw newline-delimited text, CSV rows, or JSON array string to deduplicate and normalize."
},
"normalization_mode": {
"enum": [
"exact_match",
"case_insensitive_trim",
"alphanumeric_canonical"
],
"type": "string",
"description": "Deduplication key sensitivity; defaults to 'case_insensitive_trim' when omitted."
}
}
}Compiles a raw task description into a structured XML system prompt (<role>, <context>, <objective>, <constraints>, <workflow>, <output_format>) engineered to prevent instruction drift. Use when authoring or upgrading a system prompt for an autonomous agent or sub-agent workflow; for mapping a task objective to a concrete sequence of MCP tool calls, use route_mcp_workflow_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'task' ('prompt_style' defaults to 'anthropic_xml_tags'), supports '?demo=true' or L402 (20 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| task* | string | Raw task instructions, persona goal, and operational constraints to compile. |
| prompt_style | string | Structural formatting template; defaults to 'anthropic_xml_tags' when omitted. |
{
"type": "object",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "Raw task instructions, persona goal, and operational constraints to compile."
},
"prompt_style": {
"enum": [
"anthropic_xml_tags",
"markdown_sections",
"strict_json_responder"
],
"type": "string",
"description": "Structural formatting template; defaults to 'anthropic_xml_tags' when omitted."
}
}
}Validates a raw LLM output object against a target JSON Schema, automatically coercing mismatched scalar types (e.g. string '42' to integer 42), injecting schema defaults, and pruning undeclared hallucinated fields. Use when enforcing schema compliance and type safety on structured LLM outputs before passing them to typed APIs; for healing unparseable raw JSON text with broken quotes or trailing commas, use heal_malformed_json instead. Read-only edge call (32 KB, 60 RPM): accepts 'raw_output' (with enum defaults), uses '?demo=true' or L402 (15 sats); HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| raw_output* | string | JSON string or object produced by an LLM to validate and coerce. |
| coercion_policy | string | Policy for handling extra undeclared properties; defaults to 'prune_undeclared_and_coerce' when omitted. |
{
"type": "object",
"required": [
"raw_output"
],
"properties": {
"raw_output": {
"type": "string",
"description": "JSON string or object produced by an LLM to validate and coerce."
},
"coercion_policy": {
"enum": [
"prune_undeclared_and_coerce",
"coerce_only_keep_extra",
"strict_reject_on_mismatch"
],
"type": "string",
"description": "Policy for handling extra undeclared properties; defaults to 'prune_undeclared_and_coerce' when omitted."
}
}
}Extracts structured JSON records, named entities, dates, and financial figures from unstructured prose, emails, or HTML/Markdown dumps. Use when converting unstructured natural-language text into a structured JSON array of entities; for validating and coercing an existing JSON payload against a formal JSON Schema, use enforce_json_schema_types instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('extraction_target' defaults to 'general_entities_and_metrics'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| text* | string | Unstructured document, email body, or webpage text to extract structured entities from. |
| extraction_target | string | Primary entity domain to extract; defaults to 'general_entities_and_metrics' when omitted. |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Unstructured document, email body, or webpage text to extract structured entities from."
},
"extraction_target": {
"enum": [
"general_entities_and_metrics",
"contacts_and_organizations",
"financial_line_items",
"timeline_events"
],
"type": "string",
"description": "Primary entity domain to extract; defaults to 'general_entities_and_metrics' when omitted."
}
}
}Generates normalized high-dimensional semantic vector embeddings settled via Solana SPL USDC ('x402' protocol headers) for decentralized RAG pipelines. Use when computing text embeddings paid via Solana USDC x402 signatures rather than Bitcoin Lightning; for extracting discrete JSON entities from unstructured text, use extract_structured_json_entities instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('encoding_format' defaults to 'float_array'), supports '?demo=true' or x402 (10 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| text* | string | Input text string or document chunk to convert into a normalized embedding vector. |
| encoding_format | string | Vector serialization format; defaults to 'float_array' when omitted. |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Input text string or document chunk to convert into a normalized embedding vector."
},
"encoding_format": {
"enum": [
"float_array",
"base64_float32"
],
"type": "string",
"description": "Vector serialization format; defaults to 'float_array' when omitted."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| repair_mode | string | Bracket-closing and literal-normalization strategy; defaults to 'heuristic_fast' when omitted. |
| malformed_json* | string | Raw broken, truncated, or markdown-wrapped JSON string to repair. |
{
"type": "object",
"required": [
"malformed_json"
],
"properties": {
"repair_mode": {
"enum": [
"heuristic_fast",
"strict_rfc8259",
"close_truncated_stream"
],
"type": "string",
"description": "Bracket-closing and literal-normalization strategy; defaults to 'heuristic_fast' when omitted."
},
"malformed_json": {
"type": "string",
"description": "Raw broken, truncated, or markdown-wrapped JSON string to repair."
}
}
}Initializes a Base USDC Machine Payments Protocol (MPP) metered inference session, allocating a streaming token quota and returning a step-by-step execution plan. Use when running session-metered agent planning settled via Base EVM MPP 'Payment-Challenge' headers; for mapping a task goal to L402 MCP tool calls without opening an MPP streaming session, use route_mcp_workflow_plan instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'task' ('token_quota_tier' defaults to 'compact_1024'), supports '?demo=true' or MPP (100 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| task* | string | Agent workflow task to execute within the metered MPP session. |
| token_quota_tier | string | Allocated streaming token ceiling for the session; defaults to 'standard_4096' when omitted. |
{
"type": "object",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "Agent workflow task to execute within the metered MPP session."
},
"token_quota_tier": {
"enum": [
"compact_1024",
"standard_4096",
"extended_16384"
],
"type": "string",
"description": "Allocated streaming token ceiling for the session; defaults to 'standard_4096' when omitted."
}
}
}Maps a natural-language agent goal to an ordered sequence of Diogenes MCP tool calls with exact endpoint paths, JSON-RPC 2.0 payloads, and cumulative satoshi cost estimates. Use when an autonomous agent needs to plan which MCP tools to chain together to solve a multi-step objective within a satoshi budget; for compiling a static XML system prompt rather than an executable MCP tool call sequence, use compile_xml_agent_prompt instead. Read-only edge call (32 KB, 60 RPM): accepts 'objective' ('budget_preference' defaults to 'lowest_sats_deterministic'), uses '?demo=true' or L402 (20 sats); HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| objective* | string | Natural-language description of the workflow goal to route across MCP tools. |
| budget_preference | string | Cost vs depth routing trade-off; defaults to 'lowest_sats_deterministic' when omitted. |
{
"type": "object",
"required": [
"objective"
],
"properties": {
"objective": {
"type": "string",
"description": "Natural-language description of the workflow goal to route across MCP tools."
},
"budget_preference": {
"enum": [
"lowest_sats_deterministic",
"max_verification_depth",
"single_tool_fast"
],
"type": "string",
"description": "Cost vs depth routing trade-off; defaults to 'lowest_sats_deterministic' when omitted."
}
}
}Condenses long technical specifications, RFCs, research papers, or meeting transcripts into high-density executive bullet points preserving exact figures and decisions. Use when producing a human-readable executive summary of a single provided document; for researching a topic across the live web with Google Search citations, use synthesize_web_intelligence_brief instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('summary_format' defaults to 'executive_bullets'), supports '?demo=true' or L402 (50 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| text* | string | Full document text, RFC, or transcript to summarize. |
| summary_format | string | Output presentation structure; defaults to 'executive_bullets' when omitted. |
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Full document text, RFC, or transcript to summarize."
},
"summary_format": {
"enum": [
"executive_bullets",
"decision_log_table",
"one_paragraph_abstract"
],
"type": "string",
"description": "Output presentation structure; defaults to 'executive_bullets' when omitted."
}
}
}Synthesizes PEP 8 compliant, self-contained Python 3 scripts, data parsers, and CLI utilities complete with type hints, docstrings, and inline assertion tests. Use when generating a standalone Python automation script or parser from a functional specification; for summarizing existing documentation or codebases into executive bullet points, use summarize_technical_document instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'prompt' ('dependency_policy' defaults to 'stdlib_only'), supports '?demo=true' or L402 (75 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| prompt* | string | Functional specification, input/output formats, and edge cases for the Python script. |
| dependency_policy | string | Allowed library dependencies in generated code; defaults to 'stdlib_only' when omitted. |
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "Functional specification, input/output formats, and edge cases for the Python script."
},
"dependency_policy": {
"enum": [
"stdlib_only",
"allow_requests_and_pydantic",
"async_httpx_tokio"
],
"type": "string",
"description": "Allowed library dependencies in generated code; defaults to 'stdlib_only' when omitted."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| flavor | string | Target regular expression engine syntax; defaults to 'ecmascript_js' when omitted. |
| description* | string | Natural-language specification of the text pattern to match (e.g. 'RFC 5322 email addresses excluding plus-aliases'). |
{
"type": "object",
"required": [
"description"
],
"properties": {
"flavor": {
"enum": [
"ecmascript_js",
"python_re",
"rust_regex_dfa",
"pcre2"
],
"type": "string",
"description": "Target regular expression engine syntax; defaults to 'ecmascript_js' when omitted."
},
"description": {
"type": "string",
"description": "Natural-language specification of the text pattern to match (e.g. 'RFC 5322 email addresses excluding plus-aliases')."
}
}
}Synthesizes a real-time market or technical intelligence brief grounded in live Google Search, returning strict JSON ('executive_summary', 'key_developments', 'sentiment', 'sources'). Use when fetching a structured JSON market/news brief with live web citations and sentiment classification; for summarizing caller-supplied text offline without live web search, use summarize_technical_document instead. Read-only edge call (32 KB, 60 RPM): accepts 'topic' ('focus' defaults to 'technical_and_market_catalysts'), supports '?demo=true' or L402 (75 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| focus | string | Analytical angle applied to the brief; defaults to 'technical_and_market_catalysts' when omitted. |
| topic* | string | Company, protocol, market sector, or technical topic to brief. |
{
"type": "object",
"required": [
"topic"
],
"properties": {
"focus": {
"enum": [
"technical_and_market_catalysts",
"security_incidents",
"regulatory_and_macro"
],
"type": "string",
"description": "Analytical angle applied to the brief; defaults to 'technical_and_market_catalysts' when omitted."
},
"topic": {
"type": "string",
"description": "Company, protocol, market sector, or technical topic to brief."
}
}
}Audits a compacted conversation summary against the original full context to detect dropped user constraints, lost file paths, altered numbers, or missing pending tasks. Use when verifying that an LLM context-compaction summary retained all task-critical facts before truncating history; for generating a new executive summary from a raw technical document, use summarize_technical_document instead. Read-only edge call (32 KB, 60 RPM): accepts 'original_context' ('compacted_summary' defaults to 'standard'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
| Argument | Type | Description |
|---|---|---|
| audit_focus | string | Entity class prioritized during retention scoring; defaults to 'constraints_paths_and_numbers' when omitted. |
| original_context* | string | Full pre-compaction conversation history or task log. |
| compacted_summary* | string | Candidate compacted summary to audit for dropped constraints or entities. |
{
"type": "object",
"required": [
"original_context",
"compacted_summary"
],
"properties": {
"audit_focus": {
"enum": [
"constraints_paths_and_numbers",
"code_identifiers_only",
"chronological_decisions"
],
"type": "string",
"description": "Entity class prioritized during retention scoring; defaults to 'constraints_paths_and_numbers' when omitted."
},
"original_context": {
"type": "string",
"description": "Full pre-compaction conversation history or task log."
},
"compacted_summary": {
"type": "string",
"description": "Candidate compacted summary to audit for dropped constraints or entities."
}
}
}