agent-toolbelt-mcp
v1.0.019 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'.
| Parameter | Type | Description |
|---|---|---|
description * | string | Natural language description of the data structure you want a schema for |
format | string | Output format: json_schema (standard JSON Schema), typescript (TS interface), or zod (Zod validation schema) |
strict | boolean | If 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.
| Parameter | Type | Description |
|---|---|---|
extractors * | array | Which types of data to extract. Choose one or more: emails, urls, phone_numbers, dates, currencies, addresses, names, json_blocks |
text * | string | The raw text to extract data from |
deduplicate | boolean | Remove 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.
| Parameter | Type | Description |
|---|---|---|
description * | string | Natural language schedule description |
timezone | string | Timezone 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.
| Parameter | Type | Description |
|---|---|---|
description * | string | What to match (e.g., 'email addresses', 'hex color codes', 'semantic versions') |
flags | string | Regex flags (default: 'g') |
testStrings | array | Optional 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Company or brand name |
format | string | Output format |
industry | string | Industry (e.g., 'fintech', 'healthcare', 'fashion') |
vibe | array | Aesthetic 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.
| Parameter | Type | Description |
|---|---|---|
content * | string | The content to convert |
from * | string | Input format |
to * | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to fetch metadata from |
timeout | number | Request 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to count tokens for |
models | array | Models 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.
| Parameter | Type | Description |
|---|---|---|
csv * | string | The CSV content to convert |
delimiter | string | Column delimiter |
hasHeader | boolean | Whether the first row contains column names |
limit | number | Max rows to return |
typeCast | boolean | Auto-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).
| Parameter | Type | Description |
|---|---|---|
address * | string | The US address to normalize |
includeComponents | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
description * | string | Description of the desired palette (e.g. 'calm fintech blue', 'sunset', '#3B82F6') |
count | integer | Number of colors (2-10) |
format | string | Color format in output |
includeShades | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
original * | string | The original version of the document |
revised * | string | The revised version of the document |
context | string | Document type for more relevant analysis |
mode | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
contract * | string | The contract or legal document text |
clauses | array | Which clause types to extract |
flagRisks | boolean | Flag 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.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The LLM prompt to analyze and/or improve |
mode | string | 'both' returns analysis + improved prompt; 'analyze' scores only; 'improve' rewrites only |
model | string | Target model (e.g. 'gpt-4o', 'claude-3-5-sonnet') |
task | string | What 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.
| Parameter | Type | Description |
|---|---|---|
notes * | string | Meeting notes or transcript |
format | string | 'full' includes summary and decisions; 'action_items_only' returns just the task list |
participants | array | Known 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.
| Parameter | Type | Description |
|---|---|---|
image * | string | Base64-encoded image (JPEG, PNG, WebP, TIFF). No data URI prefix. |
format | string | Output format ('preserve' keeps original) |
quality | integer | Quality 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.
| Parameter | Type | Description |
|---|---|---|
schema * | object | JSON Schema object describing the shape of the mock data |
count | integer | Number of mock records to generate (1–100) |
seed | integer | Optional 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.
| Parameter | Type | Description |
|---|---|---|
includeDevDependencies | boolean | |
manifest | string | Raw package.json or requirements.txt |
manifestType | string | |
minSeverity | string | |
packages | array | Packages 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.
| Parameter | Type | Description |
|---|---|---|
chunks * | array | Content chunks to pack |
tokenBudget * | integer | Maximum tokens allowed |
model | string | Target model for tokenization |
reserveForOutput | integer | Tokens to reserve for output |
separator | string | Text between chunks |
strategy | string | Packing strategy |
systemPrompt | string | System prompt to reserve tokens for |
list_tools List Available Tools
List all tools available in the Agent Toolbelt API catalog, including descriptions and pricing.