Skip to content
🎉 Setu is now 100% Open-Source! Star us on GitHub

Tools

Setu exposes MCP tools for profile personalization, link management, address verification, and paced email delivery. Your assistant decides when to call them — you never invoke these by hand.

get_my_profile

Who you are, your role, saved links, profile details (LinkedIn, GitHub, reason for job change, custom metadata), plan, and remaining quota. The assistant should call this first — everything else depends on it.

Input

None.

Returns

email, name, role, link, default_link_name, links[], link_saved, link_required, linkedin_url, github_url, reason_for_job_change, extra_data, plan, subscribed_at, subscription_ends_at, total_sent, free_remaining, sent_last_24h, daily_limit, remaining_today, setup_needed

Example

json
{
  "email": "you@gmail.com",
  "name": "Himanshu Yadav",
  "role": "job_seeker",
  "role_label": "Job seeker",
  "link": "https://drive.google.com/file/d/…",
  "link_label": "Resume",
  "link_saved": true,
  "link_required": true,
  "linkedin_url": "https://linkedin.com/in/himanshu",
  "github_url": "https://github.com/gitmanhimanshu",
  "reason_for_job_change": "Looking for high-ownership senior engineering roles",
  "extra_data": {
    "skills": ["Python", "FastAPI", "React"],
    "target_roles": ["Senior Fullstack Engineer"]
  },
  "plan": "free",
  "total_sent": 3,
  "free_email_limit": 5,
  "free_remaining": 2,
  "sent_last_24h": 3,
  "daily_limit": 80,
  "remaining_today": 77,
  "setup_needed": null
}

update_profile

Updates candidate or outreach details: LinkedIn profile URL, GitHub URL, reason for job change, or custom metadata (JSON) like skills and target roles. The assistant uses this context to write personalized outreach emails.

Input

NameTypeRequiredDescription
linkedin_urlstringnoPublic LinkedIn profile URL (https://linkedin.com/in/...)
github_urlstringnoPublic GitHub profile URL (https://github.com/...)
reason_for_job_changestringnoWhy you are exploring new roles and what opportunities you are looking for
extra_datadictnoKey-value JSON object of skills, preferences, or custom background notes

Returns

success, linkedin_url, github_url, reason_for_job_change, extra_data

Example

json
{
  "success": true,
  "linkedin_url": "https://linkedin.com/in/himanshu",
  "github_url": "https://github.com/gitmanhimanshu",
  "reason_for_job_change": "Seeking high-ownership engineering roles in early-stage products",
  "extra_data": {
    "skills": ["Python", "TypeScript", "Next.js"],
    "preferred_location": "Remote"
  }
}

set_role

Sets what the user does — job_seeker, recruiter, or professional. The role decides what link rides along with their emails and whether one is required at all. Ask the user; never infer it. Changeable any time.

Input

NameTypeRequiredDescription
rolestringyesjob_seeker | recruiter | professional

Returns

success, role, role_label, link_label, link_required, next_step

Example

json
{
  "success": true,
  "role": "recruiter",
  "role_label": "Recruiter",
  "link_label": "Job description",
  "link_required": false,
  "next_step": "Optional: ask if they want a job description
   link on their emails."
}

verify_hr_emails

Advisory. Checks whether an address's domain can actually receive mail, and flags addresses that look constructed from a naming pattern rather than found on a page. Does not block sending unless VERIFY_HR_EMAILS is enabled on the server.

Input

NameTypeRequiredDescription
candidatesCandidate[]yesEach: email, company, source_url (the page you saw it on)

Returns

checked, usable, rejected, results[] with reasons and warnings

Example

json
{
  "checked": 2,
  "usable": 1,
  "rejected": 1,
  "results": [
    { "email": "careers@acme.com", "ok": true,
      "detail": "MX: aspmx.l.google.com" },
    { "email": "hr@acme-inc.io", "ok": false,
      "reasons": ["acme-inc.io: domain does not exist"] }
  ]
}

send_application

irreversible

Sends one email from your Gmail — any email, not only applications: meeting requests, follow-ups, greetings. Irreversible. Refuses if no role is set, if the role needs a link and none is saved, if the free allowance is spent, or if the daily limit is reached. Your link is appended by default; include_link=false leaves it off.

Input

NameTypeRequiredDescription
tostringyesRecipient address
subjectstringyesSubject line
bodystringyesPlain text body
companystringnoFor your history
source_urlstringnoWhere the address came from
link_namestringnoWhich saved link to attach for this send
include_linkboolnoDefault true. false = don't append your saved link (general messages)

Returns

success, to, subject, message_id, link_name, track_id — or success:false with error

Example

json
{
  "success": true,
  "to": "careers@acme.com",
  "subject": "Application for Backend Engineer at Acme",
  "message_id": "18f2a9c4d5e6b7a8"
}

send_applications

irreversible

Sends a batch of emails — applications or any other kind — pausing between each so Gmail doesn't read the run as automated. Capped at 25 per call, so you review as you go instead of finding out afterwards.

Input

NameTypeRequiredDescription
applicationsApplication[]yesEach: to, subject, body, company, source_url, optional link_name — max 25
delay_secondsintnoPause between sends. Defaults to the server's EMAIL_DELAY (5s)
include_linkboolnoDefault true. false = don't append your saved link to any message in the batch

Returns

sent, failed, skipped, skipped_details[], results[], remaining_today

Example

json
{
  "success": true,
  "sent": 8,
  "failed": 0,
  "skipped": 1,
  "skipped_details": [
    { "to": "hr@x.com", "reason": "daily limit reached" }
  ],
  "remaining_today": 60
}

get_my_stats

Your numbers at a glance — lifetime and last-24h sends, companies reached, failures, remaining quota, plan, and the last few sends. The assistant calls this when you ask "how many emails have I sent?" or "show my stats".

Input

None.

Returns

email, name, plan, total_sent, total_failed, total_opens, opened_sends, companies_reached, sent_last_24h, daily_limit, remaining_today, free_remaining, subscription_ends_at, recent[5]

Example

json
{
  "plan": "free",
  "total_sent": 12,
  "total_failed": 1,
  "companies_reached": 9,
  "sent_last_24h": 3,
  "daily_limit": 80,
  "remaining_today": 77,
  "free_remaining": 0,
  "recent": [
    { "to_email": "careers@acme.com", "company": "Acme",
      "success": true, "sent_at": "2026-07-19T09:22:04+00:00" }
  ]
}

get_sent_history

Everything you've sent through Setu, newest first. The record survives across sessions, which is what makes duplicate-send prevention possible.

Input

NameTypeRequiredDescription
limitintnoHow many rows. Default 20

Returns

sent_last_24h, daily_limit, entries[]

Example

json
{
  "sent_last_24h": 12,
  "daily_limit": 80,
  "entries": [
    { "to_email": "careers@acme.com", "company": "Acme",
      "success": true, "message_id": "18f2a9c4d5e6b7a8",
      "sent_at": "2026-07-15T09:22:04+00:00" }
  ]
}