agent-toolbelt-mcp

v1.0.0
io.github.marras0914/agent-toolbelt-mcp Checked 3 days ago Published 9 months ago

19 focused API tools for AI agents: contract review, prompt optimizer, context packing, and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_schema Schema Generator

Generate a JSON Schema, TypeScript interface, or Zod validation schema from a natural language description of a data structure. Examples: 'a user profile with name, email, and signup date', 'a product listing with title, price, and inventory count'.

ParameterTypeDescription
description *stringNatural language description of the data structure you want a schema for
formatstringOutput format: json_schema (standard JSON Schema), typescript (TS interface), or zod (Zod validation schema)
strictbooleanIf true, all fields are required. If false, optional fields are marked as optional

extract_from_text Text Extractor

Extract structured data from raw text: emails, URLs, phone numbers, dates, currencies, addresses, names, or JSON blocks. Useful for parsing documents, emails, web content, or any unstructured text into clean structured data.

ParameterTypeDescription
extractors *arrayWhich types of data to extract. Choose one or more: emails, urls, phone_numbers, dates, currencies, addresses, names, json_blocks
text *stringThe raw text to extract data from
deduplicatebooleanRemove duplicate results within each type

build_cron Cron Expression Builder

Convert natural language schedule descriptions into cron expressions. Examples: 'every weekday at 9am', 'first Monday of each month at noon', 'every 5 minutes'. Returns the expression, human-readable confirmation, and next 5 run times.

ParameterTypeDescription
description *stringNatural language schedule description
timezonestringTimezone for context

build_regex Regex Builder & Tester

Build and test regular expressions from natural language descriptions. Supports emails, URLs, phones, dates, IPs, colors, UUIDs, and 15+ more patterns. Returns the pattern, code snippets in JS/Python/TS, and optional test results.

ParameterTypeDescription
description *stringWhat to match (e.g., 'email addresses', 'hex color codes', 'semantic versions')
flagsstringRegex flags (default: 'g')
testStringsarrayOptional strings to test the regex against

generate_brand_kit Brand Kit Generator

Generate a complete brand kit from a company name, industry, and aesthetic keywords. Returns a color palette with WCAG accessibility scores, curated typography pairings, and design tokens in JSON, CSS, or Tailwind format.

ParameterTypeDescription
name *stringCompany or brand name
formatstringOutput format
industrystringIndustry (e.g., 'fintech', 'healthcare', 'fashion')
vibearrayAesthetic keywords: 'modern', 'playful', 'luxurious', 'minimal', 'bold', etc.

convert_markdown Markdown Converter

Convert HTML to clean Markdown, or Markdown to HTML. Use HTML→Markdown when you've fetched a web page and need readable text for an LLM — strips tags, preserves headings, lists, code blocks, links, and tables. Use Markdown→HTML when rendering content in a web context.

ParameterTypeDescription
content *stringThe content to convert
from *stringInput format
to *stringOutput format

fetch_url_metadata URL Metadata

Fetch a URL and extract its metadata: title, description, Open Graph tags (og:image, og:type), Twitter card tags, favicon, canonical URL, author, and publish date. Use to enrich links with context or understand what a page is about without reading the full content.

ParameterTypeDescription
url *stringThe URL to fetch metadata from
timeoutnumberRequest timeout in milliseconds (default 8000)

count_tokens Token Counter

Count tokens for any text across multiple LLM models and get per-model cost estimates. Use before sending text to an LLM to check context window usage or compare costs across models. Supports GPT-4o, GPT-4, GPT-3.5-turbo, Claude 3.5 Sonnet, Claude 3 Opus, and 10+ more.

ParameterTypeDescription
text *stringThe text to count tokens for
modelsarrayModels to count tokens for

csv_to_json CSV to JSON

Convert CSV data to typed JSON. Auto-detects delimiters, uses the first row as headers, and casts values to proper types (numbers, booleans, nulls). Use when processing spreadsheet exports or any CSV-formatted data.

ParameterTypeDescription
csv *stringThe CSV content to convert
delimiterstringColumn delimiter
hasHeaderbooleanWhether the first row contains column names
limitnumberMax rows to return
typeCastbooleanAuto-convert values to proper types

normalize_address Address Normalizer

Normalize a US mailing address to USPS standard format. Expands abbreviations (st→ST, ave→AVE), standardizes directionals, converts state names to codes. Returns parsed components and a confidence score (high/medium/low).

ParameterTypeDescription
address *stringThe US address to normalize
includeComponentsbooleanInclude parsed address components in response

generate_color_palette Color Palette Generator

Generate a color palette from a description, mood, industry, or hex seed color. Accepts moods (calm, energetic, luxurious), industries (fintech, healthcare, fashion), nature themes (sunset, ocean, forest), or a specific hex color. Returns hex/RGB/HSL values, WCAG accessibility scores, and CSS custom properties.

ParameterTypeDescription
description *stringDescription of the desired palette (e.g. 'calm fintech blue', 'sunset', '#3B82F6')
countintegerNumber of colors (2-10)
formatstringColor format in output
includeShadesbooleanInclude light/dark shades for each color

compare_documents Document Comparator

Compare two versions of a document and produce a semantic diff with additions, deletions, and modifications. Works with contracts, READMEs, policies, essays, or any text. Powered by Claude.

ParameterTypeDescription
original *stringThe original version of the document
revised *stringThe revised version of the document
contextstringDocument type for more relevant analysis
modestringOutput format

extract_contract_clauses Contract Clause Extractor

Extract key clauses from a contract — parties, payment terms, termination, liability, IP ownership, confidentiality, and more. Optionally flags risky or one-sided clauses with severity ratings. Powered by Claude.

ParameterTypeDescription
contract *stringThe contract or legal document text
clausesarrayWhich clause types to extract
flagRisksbooleanFlag risky or unfavorable clauses

optimize_prompt Prompt Optimizer

Analyze and improve an LLM prompt. Scores clarity, specificity, structure, and completeness. Returns an optimized rewrite with a summary of what changed and why. Powered by Claude.

ParameterTypeDescription
prompt *stringThe LLM prompt to analyze and/or improve
modestring'both' returns analysis + improved prompt; 'analyze' scores only; 'improve' rewrites only
modelstringTarget model (e.g. 'gpt-4o', 'claude-3-5-sonnet')
taskstringWhat this prompt is trying to accomplish

extract_meeting_action_items Meeting Action Items

Extract structured action items, decisions, and a summary from meeting notes or transcripts. Identifies task owners, deadlines, and priorities. Powered by Claude.

ParameterTypeDescription
notes *stringMeeting notes or transcript
formatstring'full' includes summary and decisions; 'action_items_only' returns just the task list
participantsarrayKnown participant names to help with owner attribution

strip_image_metadata Image Metadata Stripper

Strip EXIF, GPS, IPTC, XMP, and ICC metadata from an image for privacy. Use before uploading or sharing images to remove sensitive embedded data like GPS coordinates, camera model, timestamps, and editing history. Accepts base64-encoded JPEG, PNG, WebP, or TIFF. Returns cleaned base64 image with a removal report.

ParameterTypeDescription
image *stringBase64-encoded image (JPEG, PNG, WebP, TIFF). No data URI prefix.
formatstringOutput format ('preserve' keeps original)
qualityintegerQuality for lossy formats (1-100)

mock_api_response API Response Mocker

Generate realistic mock API responses from a JSON Schema. Supports nested objects, arrays, string formats (email, uuid, date-time, url), field-name heuristics, enums, and min/max constraints. Set seed for reproducible output. Returns 1–100 records.

ParameterTypeDescription
schema *objectJSON Schema object describing the shape of the mock data
countintegerNumber of mock records to generate (1–100)
seedintegerOptional seed for reproducible output

audit_dependencies Dependency Auditor

Audit npm and PyPI packages for known CVEs using the OSV database (GitHub Dependabot's source). Pass packages directly or paste package.json / requirements.txt content.

ParameterTypeDescription
includeDevDependenciesboolean
manifeststringRaw package.json or requirements.txt
manifestTypestring
minSeveritystring
packagesarrayPackages to audit

pack_context_window Context Window Packer

Pack content chunks into a token budget for an LLM context window. Selects the best subset of chunks that fits within the token limit using priority, greedy, or balanced strategies. Use when you have more content than fits in the context window.

ParameterTypeDescription
chunks *arrayContent chunks to pack
tokenBudget *integerMaximum tokens allowed
modelstringTarget model for tokenization
reserveForOutputintegerTokens to reserve for output
separatorstringText between chunks
strategystringPacking strategy
systemPromptstringSystem prompt to reserve tokens for

list_tools List Available Tools

List all tools available in the Agent Toolbelt API catalog, including descriptions and pricing.