Skip to content
Eden Engine

Python Docstring Generator (Google, NumPy, or Sphinx Style)

omnial/x402-docstring-generate

Given a snippet of Python source code (a function, method, or class) and a target docstring style (Google, NumPy, or Sphinx), returns the same code with generated docstrings inserted, plus a count of how many functions and classes were documented.

activeper callv1
Provider
Web & Business Data Network
Category
developer-tools
Provider price
$0.081081 per call
Latency p50 / p95
— / —
Success rate
—
Verified
—

Provider list price; Omnial MCP charges provider cost plus a platform markup on top.

Contract

input_schema.json
{
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string"
    },
    "style": {
      "type": "string",
      "description": "google/numpy/sphinx"
    }
  },
  "additionalProperties": false
}
output_schema.json
{
  "type": "object",
  "properties": {
    "style": {
      "type": "string",
      "description": "Echoes the requested style. Observed as 'google' and 'numpy'."
    },
    "documented_code": {
      "type": "string",
      "description": "The input `code` returned verbatim with generated docstrings inserted into each function/method/class. Observed on a single free function (fibonacci-google.json) and on a class with three methods, each documented individually (stack-class-numpy.json)."
    },
    "classes_documented": {
      "type": "number",
      "description": "Observed 0 (no class in the snippet) and 1 (one class) across the two fixtures."
    },
    "functions_documented": {
      "type": "number",
      "description": "Observed 1 (one free function) and 2 (a 3-method class whose __init__/push/pop all received their own docstring in `documented_code`, yet this count read 2) across the two fixtures -- an approximate summary, not a literal tally of every function/method docstring actually inserted; see usage.md."
    }
  },
  "description": "The docstring-generation result, as returned at routing.responseResultPath ($.output).",
  "additionalProperties": true
}

Pricing

Every real charge, itemised. A model that quietly omits one is a slow financial leak, so nothing here is rolled up, and a charge that only applies to some inputs says so rather than being added in.

Prices in this catalog are the provider's own list price, not your bill: Omnial MCP charges provider cost plus a platform markup on top, so what you are charged is higher than the figure shown. For the exact amount a specific call will cost, run omnial_execute with dry_run: true; that number includes the markup and is what we hold while the call runs. It is a quote, not a cap on the charge.

ChargeRate
Per call
Flat, regardless of what comes back
$0.081081
Cost basis
Not recorded

This tool's catalog entry does not record how its final bill is determined, so we will not tell you whether its cost is fixed before the call or reported by the provider afterwards. Either way what is held is a quote rather than a cap: you are charged what the call actually costs, bounded at 2x the quote.

Updated
Sep 23, 2026