Skip to content
Back to skills

Tools Mcp

ASecurity

"Guide Swarms tool schema conversion, BaseTool helpers, and MCP

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythondebuggingapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tools-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tools Mcp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tools Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tools-mcp/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tools-mcp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tools-mcp
description: "Guide Swarms tool schema conversion, BaseTool helpers, and MCP
  client/server workflows."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# Tools and MCP

Use this sub-skill when the user wants to turn Python callables into tools, reason about tool schemas, or connect Swarms to an MCP server.

## Owns these workflows

- Convert functions and Pydantic models into tool schemas.
- Use `BaseTool` to inspect, validate, and execute local tools.
- Configure `MCPManager`, `MCPConnection`, and `MCPOAuthConfig`.
- Use one or many MCP servers from an `Agent`.
- Build or smoke-test a small local MCP server.

## Does not own

- Single-agent prompt, memory, marketplace, or fallback behavior; use `single-agent`.
- CLI file loading or autoswarm generation; use `cli-loaders`.
- Multi-agent orchestration, routing, or swarm selection; use `multi-agent-workflows`.

## Read this sub-skill when the request mentions

- `BaseTool`, `tool_registry`, `func_to_dict`, `base_model_to_openai_function`, or `execute_tool_by_name`.
- `MCPManager`, `MCPConnection`, `MCPOAuthConfig`, `mcp_url`, `mcp_urls`, or `mcp_configs`.
- `streamable_http`, `sse`, `stdio`, auth headers, bearer tokens, OAuth, or tool routing.
- `Agent(..., mcp_url=...)` or local MCP server debugging.

## Working shape

1. Decide whether the user needs local tool schemas, a direct MCP client, or an MCP server.
2. Check auth style and transport before promising a live connection.
3. Use the bundled references for API shapes and recovery steps.
4. Prefer a local server smoke test before a remote MCP endpoint.

## What to read next

- `references/api-reference.md` for schema helpers and MCP config objects.
- `references/workflows.md` for function-schema, Agent+MCP, and local-server recipes.
- `references/troubleshooting.md` for auth, transport, and tool routing failures.
- `scripts/tool_schema_smoke.py` and `scripts/mcp_smoke.py` for safe offline checks.

## Typical user questions this sub-skill should answer

- How do I convert a function or Pydantic model into a tool schema?
- How do I route MCP tools from one or many servers?
- Why does the client say it cannot find a tool name?
- Why does a local MCP server work on one header but not another?
- How do I prove the tool path without talking to a remote service?

## Route boundaries

- If the task is mainly about one agent’s prompt or memory, route to `single-agent`.
- If the task is about command-line creation or file loaders, route to `cli-loaders`.
- If the task is about a swarm shape or router choice, route to `multi-agent-workflows`.

## Acceptance checklist

- The response should identify the right helper function or MCP config object.
- The response should state which transport and auth style are required.
- The response should provide a concrete smoke or validation step.
- The response should include a recovery path for missing dependencies, bad headers, or empty tool lists.

Files in this skill

  • SKILL.md2.9 KB
  • references/api-reference.md2.7 KB
  • references/troubleshooting.md1.6 KB
  • references/workflows.md2.2 KB
  • scripts/mcp_local_server.py1.7 KB
  • scripts/mcp_smoke.py3.1 KB
  • scripts/tool_schema_smoke.py911 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.