Skip to main content
Glama

ScorpTech x402 Tools

Ics Generate

ics_generate
Read-onlyIdempotent

Generate a standards-compliant iCalendar (.ics, RFC 5545) file from JSON events — ready for Google Calendar, Outlook and Apple Calendar invites or "add to calendar" links. Time zones with a generated VTIMEZONE (DST rules from the IANA database), all-day and multi-day events, recurrence (RRULE validated, EXDATE), reminders (VALARM), organizer / attendees with RSVP, location, URL, geo, categories and status. Proper escaping and 75-octet line folding; deterministic UIDs. Returns the .ics text and a data: URI. Returns JSON with: eventCount, bytes, timezones, uids, ics, dataUri, warnings. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ics-generate

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": {
      "events": "<events>"
    },
    "name": "ics_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsYesEvents (max 200): summary, start, end | durationMinutes, allDay, timezone, description, location, url, uid, rrule, exdates, alarms (minutes before), organizer {name,email}, attendees [{name,email,role,rsvp}], status, categories, geo {lat,lon}, transparent, sequence, priority, class
methodNoREQUEST for meeting invitations (needs organizer)PUBLISH
timezoneNoIANA time zone for events without their own (e.g. Europe/Berlin)UTC
calendarNameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond them: deterministic UIDs, validated RRULEs, proper 75-octet folding, and notably the $0.002 USDC per-call x402 pricing plus the equivalent HTTPS endpoint. It does not contradict the read-only annotation since the tool returns text rather than persisting state.

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

Conciseness3/5

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

It is front-loaded correctly with the verb and resource, but the middle is a dense marketing-style feature catalog (geo, categories, status, VALARM, EXDATE, folding) much of which restates the schema. The pricing and endpoint sentences earn their place; several feature clauses do not.

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?

No output schema exists, and the description compensates by naming the returned JSON fields (eventCount, bytes, timezones, uids, ics, dataUri, warnings). Combined with the max-200 note in the schema and the cost disclosure, an agent has what it needs to invoke and interpret results.

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 75%, so the schema already carries most parameter meaning, and the description's feature catalog largely mirrors the events' field list rather than deepening it. The only semantic nuance added — IANA DST rules for the timezone param — is thin, so baseline 3 fits.

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?

Opens with a specific verb+resource ('Generate a standards-compliant iCalendar (.ics, RFC 5545) file from JSON events') and enumerates supported features, making it immediately distinguishable from the sibling ics_parse which reads rather than produces calendars.

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

Usage Guidelines4/5

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

Gives clear situational context — Google Calendar, Outlook and Apple Calendar invites, or 'add to calendar' links — and the schema notes method=REQUEST is for meeting invitations. It never states when NOT to use it or names ics_parse as the inverse alternative, so it stops short of explicit routing guidance.

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