Skip to main content
Glama

Oxyo (oxyo.si) — Cut Coding Agent Token & Quota Burn by up to 72%

oxyo_skill_register

Idempotent

Validate and persist a reusable Python function into the skill library only after 100% of supplied test_cases pass in isolation, returning verification status. Use to save new tested utilities; use oxyo_skill_invoke to list or execute existing skills.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "entrypoint": "<entrypoint>",
      "description": "<description>",
      "code": "<code>",
      "test_cases": "<test_cases>"
    },
    "name": "oxyo_skill_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesPure standard-library Python source defining the `entrypoint` function.
nameYesUnique snake_case identifier for the reusable skill.
entrypointYesTop-level Python function name inside `code` invoked when running the skill.
test_casesYesNon-empty list of test objects {'args': [...], 'expected': ...} verified before saving.
descriptionYesClear summary of inputs, algorithm, and return value for future discovery.
uses_skillsNoOptional names of previously registered skills composed by this function.
share_collectiveNoOpt-in to share anonymized verified utility patterns with the collective skill pool (default false; skills stay strictly private to your vault).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / share_collective / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / share_collective / description
      Previous value: -"Allow sharing anonymized verified utility patterns with the collective skill pool."New value: +"Opt-in to share anonymized verified utility patterns with the collective skill pool (default false; skills stay strictly private to your vault)."
  2. Changed7 schema fields changed
    • addedInput schema / properties / code / description
      Added value: +"Pure standard-library Python source defining the `entrypoint` function."
    • addedInput schema / properties / description / description
      Added value: +"Clear summary of inputs, algorithm, and return value for future discovery."
    • addedInput schema / properties / entrypoint / description
      Added value: +"Top-level Python function name inside `code` invoked when running the skill."
    • addedInput schema / properties / name / description
      Added value: +"Unique snake_case identifier for the reusable skill."
    • addedInput schema / properties / share_collective / description
      Added value: +"Allow sharing anonymized verified utility patterns with the collective skill pool."
    • addedInput schema / properties / test_cases / description
      Added value: +"Non-empty list of test objects {'args': [...], 'expected': ...} verified before saving."
    • changedInput schema / properties / uses_skills / description
      Previous value: -"Optional names of existing verified skills called by this skill"New value: +"Optional names of previously registered skills composed by this function."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly=false, destructive=false, idempotent=true, and openWorld=false, so the safety profile is covered. The description adds genuinely new behavior beyond that: persistence is conditional on all test_cases passing in isolation, and a verification status is returned. It stops short of saying what happens on failure (whether anything is written, or an error is raised) or how the idempotent re-registration behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the core behavior and the gating condition front-loaded before the sibling routing note. Every clause carries information the agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter mutation tool with no output schema, the description covers purpose, the pre-save gate, the return value, and the sibling alternative. The remaining gap is failure behavior and overwrite semantics on an idempotent re-register, which an agent would want before retrying.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all seven parameters, including the test_cases shape and the share_collective privacy default. The description reinforces the semantics of test_cases as a hard gate ('100% of supplied test_cases pass in isolation'), which adds modest value, but contributes nothing about entrypoint, uses_skills, or name beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb pair (validate and persist) and a specific resource (a reusable Python function into the skill library), and adds the gating condition (only after 100% of supplied test_cases pass in isolation). It explicitly distinguishes itself from oxyo_skill_invoke, so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the positive case ('Use to save new tested utilities') and names the sibling and its role ('use oxyo_skill_invoke to list or execute existing skills'), giving a clear either/or split. The only minor omission is guidance for re-registering an existing name, but the routing decision is fully covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources