Diogenes Dev & Data Utilities MCP

JSON healing, O(n) ReDoS defense, XML prompt compilation, and schema verification tools.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
77%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(6)

  • LOWTool 'extract_structured_json_entities' name length outside 3-30 range在 extract_structured_json_entities 中
  • LOWTool 'synthesize_python_automation_code' name length outside 3-30 range在 synthesize_python_automation_code 中
  • LOWTool 'synthesize_web_intelligence_brief' name length outside 3-30 range在 synthesize_web_intelligence_brief 中
  • LOWTool 'verify_context_compaction_fidelity' name length outside 3-30 range在 verify_context_compaction_fidelity 中
  • LOWTool 'arbitrate_agent_deliverable_escrow' name length outside 3-30 range在 arbitrate_agent_deliverable_escrow 中
  • LOWTool 'generate_x402_vector_embeddings' name length outside 3-30 range在 generate_x402_vector_embeddings 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~5,502Token(工具定義)
~3.0 KB典型回應大小
顯著的注意力影響(128k 上下文的 4.30%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "diogenes-dev-utilities-mcp": {
      "url": "https://diogenes-micro-gateway.corinth.workers.dev/mcp/dev-utilities"
    }
  }
}

遠端端點

https://diogenes-micro-gateway.corinth.workers.dev/mcp/dev-utilitiesstreamable-http

它能做什麼

工具清單

工具(14)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢heal_malformed_json(malformed_json, repair_mode)

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 (50 sats); HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "malformed_json": {
      "type": "string",
      "description": "Raw broken, truncated, or markdown-wrapped JSON string to repair."
    },
    "repair_mode": {
      "type": "string",
      "description": "Bracket-closing and literal-normalization strategy; defaults to 'heuristic_fast' when omitted.",
      "enum": [
        "heuristic_fast",
        "strict_rfc8259",
        "close_truncated_stream"
      ]
    }
  },
  "required": [
    "malformed_json"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Repair outcome ('repaired' or 'valid_as_is')."
    },
    "repaired_json": {
      "type": "string",
      "description": "Valid RFC 8259 JSON string after syntax healing."
    },
    "parsed_object": {
      "type": "object",
      "description": "Deserialized JSON object produced from the repaired string."
    },
    "fixes_applied": {
      "type": "array",
      "description": "List of lexical repairs performed."
    }
  },
  "required": [
    "status",
    "repaired_json",
    "parsed_object",
    "fixes_applied"
  ],
  "description": "Deterministic response schema for heal_malformed_json."
}
🟢enforce_json_schema_types(raw_output, coercion_policy)

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 (75 sats); HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "raw_output": {
      "type": "string",
      "description": "JSON string or object produced by an LLM to validate and coerce."
    },
    "coercion_policy": {
      "type": "string",
      "description": "Policy for handling extra undeclared properties; defaults to 'prune_undeclared_and_coerce' when omitted.",
      "enum": [
        "prune_undeclared_and_coerce",
        "coerce_only_keep_extra",
        "strict_reject_on_mismatch"
      ]
    }
  },
  "required": [
    "raw_output"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean",
      "description": "True when the resulting enforced_object satisfies the schema."
    },
    "coercions_applied": {
      "type": "array",
      "description": "List of type conversions and default injections performed."
    },
    "unrecognized_fields_pruned": {
      "type": "array",
      "description": "Hallucinated property keys removed during enforcement."
    },
    "enforced_object": {
      "type": "object",
      "description": "Clean, schema-compliant JSON object."
    }
  },
  "required": [
    "valid",
    "coercions_applied",
    "unrecognized_fields_pruned",
    "enforced_object"
  ],
  "description": "Deterministic response schema for enforce_json_schema_types."
}
🟢extract_structured_json_entities(text, extraction_target)

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 (150 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Unstructured document, email body, or webpage text to extract structured entities from."
    },
    "extraction_target": {
      "type": "string",
      "description": "Primary entity domain to extract; defaults to 'general_entities_and_metrics' when omitted.",
      "enum": [
        "general_entities_and_metrics",
        "contacts_and_organizations",
        "financial_line_items",
        "timeline_events"
      ]
    }
  },
  "required": [
    "text"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Extraction model executed ('gemini-3.8-flash')."
    },
    "extracted_data": {
      "type": "object",
      "description": "Structured JSON object or array containing the extracted entities."
    },
    "success": {
      "type": "boolean",
      "description": "True when entity extraction succeeded."
    },
    "records_count": {
      "type": "integer",
      "description": "Number of distinct entity records extracted."
    }
  },
  "required": [
    "model",
    "extracted_data",
    "success",
    "records_count"
  ],
  "description": "Deterministic response schema for extract_structured_json_entities."
}
🟢clean_tabular_dataset(data, normalization_mode)

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 (100 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "description": "Raw newline-delimited text, CSV rows, or JSON array string to deduplicate and normalize."
    },
    "normalization_mode": {
      "type": "string",
      "description": "Deduplication key sensitivity; defaults to 'case_insensitive_trim' when omitted.",
      "enum": [
        "exact_match",
        "case_insensitive_trim",
        "alphanumeric_canonical"
      ]
    }
  },
  "required": [
    "data"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "original_count": {
      "type": "integer",
      "description": "Line or record count prior to deduplication."
    },
    "cleaned_count": {
      "type": "integer",
      "description": "Unique non-empty record count after cleanup."
    },
    "duplicates_removed": {
      "type": "integer",
      "description": "Number of duplicate records eliminated."
    },
    "cleaned_data": {
      "type": "array",
      "description": "Deduplicated, whitespace-normalized records."
    }
  },
  "required": [
    "original_count",
    "cleaned_count",
    "duplicates_removed",
    "cleaned_data"
  ],
  "description": "Deterministic response schema for clean_tabular_dataset."
}
🟢synthesize_safe_regex(description, flavor)

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 (50 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Natural-language specification of the text pattern to match (e.g. 'RFC 5322 email addresses excluding plus-aliases')."
    },
    "flavor": {
      "type": "string",
      "description": "Target regular expression engine syntax; defaults to 'ecmascript_js' when omitted.",
      "enum": [
        "ecmascript_js",
        "python_re",
        "rust_regex_dfa",
        "pcre2"
      ]
    }
  },
  "required": [
    "description"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "pattern": {
      "type": "string",
      "description": "Synthesized regular expression pattern string (without slash delimiters)."
    },
    "redos_safe": {
      "type": "boolean",
      "description": "True when static star-height analysis confirms zero exponential backtracking."
    },
    "time_complexity": {
      "type": "string",
      "description": "Worst-case matching complexity ('O(n)')."
    },
    "test_results": {
      "type": "array",
      "description": "Pass/fail verification results across positive and negative test cases."
    }
  },
  "required": [
    "pattern",
    "redos_safe",
    "time_complexity",
    "test_results"
  ],
  "description": "Deterministic response schema for synthesize_safe_regex."
}
🟢compile_xml_agent_prompt(task, prompt_style)

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 (100 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task": {
      "type": "string",
      "description": "Raw task instructions, persona goal, and operational constraints to compile."
    },
    "prompt_style": {
      "type": "string",
      "description": "Structural formatting template; defaults to 'anthropic_xml_tags' when omitted.",
      "enum": [
        "anthropic_xml_tags",
        "markdown_sections",
        "strict_json_responder"
      ]
    }
  },
  "required": [
    "task"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "compiled_prompt": {
      "type": "string",
      "description": "Complete production-grade XML-structured system prompt."
    },
    "optimization_score": {
      "type": "integer",
      "description": "Prompt clarity and constraint-completeness score from 0 to 100."
    },
    "key_enhancements": {
      "type": "array",
      "description": "Specific guardrails and output contract rules injected."
    },
    "estimated_tokens": {
      "type": "integer",
      "description": "Estimated BPE token length of the compiled prompt."
    }
  },
  "required": [
    "compiled_prompt",
    "optimization_score",
    "key_enhancements",
    "estimated_tokens"
  ],
  "description": "Deterministic response schema for compile_xml_agent_prompt."
}
🟢synthesize_python_automation_code(prompt, dependency_policy)

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 (300 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "Functional specification, input/output formats, and edge cases for the Python script."
    },
    "dependency_policy": {
      "type": "string",
      "description": "Allowed library dependencies in generated code; defaults to 'stdlib_only' when omitted.",
      "enum": [
        "stdlib_only",
        "allow_requests_and_pydantic",
        "async_httpx_tokio"
      ]
    }
  },
  "required": [
    "prompt"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Code synthesis model executed ('gemini-4-argon')."
    },
    "output": {
      "type": "string",
      "description": "Complete Python 3 source code with inline verification assertions."
    },
    "success": {
      "type": "boolean",
      "description": "True when code synthesis succeeded."
    },
    "stdlib_only": {
      "type": "boolean",
      "description": "True if the generated script requires zero third-party pip packages."
    }
  },
  "required": [
    "model",
    "output",
    "success",
    "stdlib_only"
  ],
  "description": "Deterministic response schema for synthesize_python_automation_code."
}
🟢summarize_technical_document(text, summary_format)

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 (100 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Full document text, RFC, or transcript to summarize."
    },
    "summary_format": {
      "type": "string",
      "description": "Output presentation structure; defaults to 'executive_bullets' when omitted.",
      "enum": [
        "executive_bullets",
        "decision_log_table",
        "one_paragraph_abstract"
      ]
    }
  },
  "required": [
    "text"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Summarization model executed ('gemini-3.8-flash')."
    },
    "summary": {
      "type": "string",
      "description": "High-density technical summary text."
    },
    "success": {
      "type": "boolean",
      "description": "True when summarization completed."
    },
    "compression_achieved": {
      "type": "boolean",
      "description": "True when output length is <25% of input length."
    }
  },
  "required": [
    "model",
    "summary",
    "success",
    "compression_achieved"
  ],
  "description": "Deterministic response schema for summarize_technical_document."
}
🟢synthesize_web_intelligence_brief(topic, focus)

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 (200 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "description": "Company, protocol, market sector, or technical topic to brief."
    },
    "focus": {
      "type": "string",
      "description": "Analytical angle applied to the brief; defaults to 'technical_and_market_catalysts' when omitted.",
      "enum": [
        "technical_and_market_catalysts",
        "security_incidents",
        "regulatory_and_macro"
      ]
    }
  },
  "required": [
    "topic"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "description": "Researched intelligence topic."
    },
    "executive_summary": {
      "type": "string",
      "description": "Concise synthesis of current developments."
    },
    "key_developments": {
      "type": "array",
      "description": "Dated factual developments grounded in search results."
    },
    "sentiment": {
      "type": "string",
      "description": "Directional sentiment classification ('BULLISH', 'BEARISH', or 'NEUTRAL')."
    },
    "sources": {
      "type": "array",
      "description": "Verified web source titles and URLs."
    }
  },
  "required": [
    "topic",
    "executive_summary",
    "key_developments",
    "sentiment",
    "sources"
  ],
  "description": "Deterministic response schema for synthesize_web_intelligence_brief."
}
🟢verify_context_compaction_fidelity(original_context, compacted_summary, audit_focus)

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 (90 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "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."
    },
    "audit_focus": {
      "type": "string",
      "description": "Entity class prioritized during retention scoring; defaults to 'constraints_paths_and_numbers' when omitted.",
      "enum": [
        "constraints_paths_and_numbers",
        "code_identifiers_only",
        "chronological_decisions"
      ]
    }
  },
  "required": [
    "original_context",
    "compacted_summary"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "retention_score": {
      "type": "number",
      "description": "Information preservation score from 0.0 to 1.0."
    },
    "preserved_entities": {
      "type": "array",
      "description": "Critical constraints, paths, and numbers verified present in the summary."
    },
    "missing_critical_entities": {
      "type": "array",
      "description": "Important entities or constraints dropped during compaction."
    },
    "safe_to_resume": {
      "type": "boolean",
      "description": "True when retention_score >= 0.90 and zero critical constraints were lost."
    }
  },
  "required": [
    "retention_score",
    "preserved_entities",
    "missing_critical_entities",
    "safe_to_resume"
  ],
  "description": "Deterministic response schema for verify_context_compaction_fidelity."
}
🟢route_mcp_workflow_plan(objective, budget_preference)

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 planning 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 (100 sats); HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "objective": {
      "type": "string",
      "description": "Natural-language description of the workflow goal to route across MCP tools."
    },
    "budget_preference": {
      "type": "string",
      "description": "Cost vs depth routing trade-off; defaults to 'lowest_sats_deterministic' when omitted.",
      "enum": [
        "lowest_sats_deterministic",
        "max_verification_depth",
        "single_tool_fast"
      ]
    }
  },
  "required": [
    "objective"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "objective": {
      "type": "string",
      "description": "Evaluated workflow objective."
    },
    "recommended_sequence": {
      "type": "array",
      "description": "Ordered tool execution steps with tool name, endpoint, and cost_sats."
    },
    "estimated_total_sats": {
      "type": "integer",
      "description": "Cumulative satoshi cost of the planned tool sequence."
    },
    "deterministic_confidence": {
      "type": "number",
      "description": "Router confidence score from 0.80 to 1.0."
    }
  },
  "required": [
    "objective",
    "recommended_sequence",
    "estimated_total_sats",
    "deterministic_confidence"
  ],
  "description": "Deterministic response schema for route_mcp_workflow_plan."
}
🟢arbitrate_agent_deliverable_escrow(deliverable, terms, arbitration_standard)

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 (150 sats); HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "deliverable": {
      "type": "string",
      "description": "JSON string or text deliverable submitted by the worker agent."
    },
    "terms": {
      "type": "string",
      "description": "Contract acceptance criteria that the deliverable must satisfy; defaults to 'Complete verified JSON deliverable' when omitted."
    },
    "arbitration_standard": {
      "type": "string",
      "description": "Strictness of contract verification; defaults to 'strict_all_criteria' when omitted.",
      "enum": [
        "strict_all_criteria",
        "substantial_completion",
        "schema_only"
      ]
    }
  },
  "required": [
    "deliverable"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "contract_satisfied": {
      "type": "boolean",
      "description": "True when the deliverable fulfills all stated contract terms."
    },
    "quality_score": {
      "type": "integer",
      "description": "Deliverable quality score from 0 to 100."
    },
    "escrow_action": {
      "type": "string",
      "description": "Settlement command ('RELEASE_FUNDS_TO_WORKER_AGENT', 'REQUEST_REVISION', or 'REFUND_CLIENT')."
    },
    "arbitration_notes": {
      "type": "string",
      "description": "Detailed justification citing satisfied or missing contract clauses."
    }
  },
  "required": [
    "contract_satisfied",
    "quality_score",
    "escrow_action",
    "arbitration_notes"
  ],
  "description": "Deterministic response schema for arbitrate_agent_deliverable_escrow."
}
🟢infer_mpp_streaming_session(task, token_quota_tier)

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 (500 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task": {
      "type": "string",
      "description": "Agent workflow task to execute within the metered MPP session."
    },
    "token_quota_tier": {
      "type": "string",
      "description": "Allocated streaming token ceiling for the session; defaults to 'standard_4096' when omitted.",
      "enum": [
        "compact_1024",
        "standard_4096",
        "extended_16384"
      ]
    }
  },
  "required": [
    "task"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "description": "Unique MPP streaming session identifier."
    },
    "streaming_tokens_allocated": {
      "type": "integer",
      "description": "Token budget reserved for the session."
    },
    "plan": {
      "type": "array",
      "description": "Ordered execution steps generated for the task."
    },
    "session_status": {
      "type": "string",
      "description": "Session lifecycle state ('ACTIVE_STREAMING')."
    }
  },
  "required": [
    "session_id",
    "streaming_tokens_allocated",
    "plan",
    "session_status"
  ],
  "description": "Deterministic response schema for infer_mpp_streaming_session."
}
🟢generate_x402_vector_embeddings(text, encoding_format)

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 (100 sats), and returns HTTP 400 if invalid.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Input text string or document chunk to convert into a normalized embedding vector."
    },
    "encoding_format": {
      "type": "string",
      "description": "Vector serialization format; defaults to 'float_array' when omitted.",
      "enum": [
        "float_array",
        "base64_float32"
      ]
    }
  },
  "required": [
    "text"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Embedding model executed ('gemini-embedding-2')."
    },
    "dimensions": {
      "type": "integer",
      "description": "Number of float dimensions in the returned vector."
    },
    "normalized": {
      "type": "boolean",
      "description": "Always true; vectors are L2-normalized to unit length."
    },
    "embedding": {
      "type": "array",
      "description": "Normalized floating-point vector array."
    }
  },
  "required": [
    "model",
    "dimensions",
    "normalized",
    "embedding"
  ],
  "description": "Deterministic response schema for generate_x402_vector_embeddings."
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本14 個工具