Skip to main content
Glama

selectrole

Post a role

post-role

Post a software or tech role on selectrole for the person you are helping, starting from the role's public link. We read the page and fill what it states; pass any field to correct or complete it. Only pass what the person told you or the page states: never guess or invent a value. Statuses: needs_fields lists required fields still missing (a salary range is required where a pay-transparency law covers the role, and the message names the law): ask the person, then call again. needs_confirmation lists conflicts where your arguments contradict the page: check with the person, then call again with the right values, or with confirm_overrides: true to keep yours. checkout means the role is ready to pay for: give the person checkout_url, a Stripe payment page (not a sign-in) that works until expires_at. Stripe asks for their email there unless you passed email. Once they pay, the role goes live and we email that address a link to manage it. Nothing is published, and no account exists, until they pay. A role that is not a tech role (sales, recruiting, a catch-all application, …) is refused with error.code not_a_tech_role. Every reply quotes the price and lists questions_to_ask: the transparency questions still unanswered, each with the cents answering it saves. Ask the person each one and tell them the price and what answering would save; pass what they answer in answers, keyed by question id (jobs://posting-questions lists every id). Pass quote_only: true to check the role and get the price without opening a checkout (status quote). Paying: with the person's approval, pass payment_token, a Stripe shared payment token (spt_…) whose usage limits cover price.amount_cents in price.currency (get both with quote_only first), and email, which is required with a token. We authorize the card for exactly that amount without charging it and email the person a link to confirm (status payment_authorized). An address gets a few links an hour; past that nothing is sent or charged, and the error (link_limit_reached) says when to retry. Confirming charges the card and publishes the role; until then nothing is charged, and the hold lapses at expires_at. A token that is invalid, used, too small or in another currency, a declined card, or Stripe being down is an error with a code and a hint; nothing is charged in any of them.

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": {
      "url": "<url>"
    },
    "name": "post-role"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe role's public page, such as a Greenhouse, Lever, Ashby or careers-page link. It becomes the apply link.
emailNoOptional: the email of the person posting, to start Stripe's checkout page with (Stripe asks for it otherwise). The receipt and the link to manage the role go to the email they pay with.
stackNoLanguages and tools, such as ["Go", "Postgres"].
titleNoThe role's title, if the page gets it wrong.
answersNoThe person's answers, keyed by question id, such as {"vacation_days": 28, "deploy_frequency": "daily"}. questions_to_ask names the ones that lower the price; jobs://posting-questions lists every id with its allowed values.
currencyNoThree letters, such as USD or EUR.
locationNoRequired unless workplace is remote.
seniorityNo
workplaceNo
quote_onlyNotrue to check the role and return the price and questions_to_ask without opening a checkout or saving anything.
salary_maxNoYearly, written in full.
salary_minNoYearly, written in full, such as 120000.
descriptionNoThe full description of the role, at least 40 characters.
company_nameNo
payment_tokenNoA Stripe shared payment token (spt_…) the person approved, covering price.amount_cents in price.currency. Needs email. We authorize it and email the person to confirm; nothing is charged until they do.
company_websiteNo
employment_typeNo
visa_sponsorshipNoWhether the role sponsors visas. Required: ask if the page does not say.
confirm_overridesNotrue after the person confirmed the values that contradict the page (see needs_confirmation).

Output Schema

NameRequiredDescriptionDefault
roleNoThe role as it will be posted.
errorNoOnly on an error result (isError).
priceNoWhat the role costs as written (amount_cents in currency, before tax), and ways_to_lower: the sections that would lower it.
titleNo
statusNo
messageNo
missingNoWith needs_fields: each missing or invalid field and why.
requiredNoWith a payment token that does not cover the price: what a new token has to allow.
conflictsNoWith needs_confirmation (and needs_fields): each argument that contradicts the page.
expires_atNoWith checkout: when checkout_url stops working. With payment_authorized: when the hold on the card lapses unless the person confirms.
checkout_urlNoWith checkout: the Stripe page the person pays on. A payment page, not a sign-in.
company_nameNo
read_from_pageNoWith needs_fields and needs_confirmation: what the page stated.
questions_to_askNoUnanswered transparency questions, each with what answering it takes off the price now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations give only openWorldHint, so the description carries the full burden and does so well: nothing is published and no account exists until payment, the card is authorized but not charged until the person confirms, the hold lapses at expires_at, and expired/invalid/undersized/currency-mismatched tokens charge nothing. It also discloses a rate limit (a few links an hour, then link_limit_reached says when to retry), which is behavior no annotation or schema conveys.

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

Conciseness5/5

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

Long but dense and well ordered: purpose, sourcing rule, then statuses, then pricing questions, then payment. Each sentence covers a distinct state or constraint, and the anti-hallucination rule ('never guess or invent a value') is repeated once but serves the tool's core correctness requirement, so it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter, multi-step tool with an output schema, the description covers everything an agent needs to drive the flow: what each status means, what to do next in each, how errors surface, and how payment authorization differs from charge. Return values themselves are left to the output schema, which is the right division of labor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 74%, and the description adds real meaning on top of it: salary range is required where a pay-transparency law applies, answers must be keyed by question id from jobs://posting-questions, payment_token requires email, and confirm_overrides only applies to values flagged in needs_confirmation. A few parameters (seniority, workplace, company_name, company_website) are left entirely to the schema, which is why this is a 4 rather than a 5.

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?

States a specific verb and resource: 'Post a software or tech role on selectrole ... starting from the role's public link.' The tool is unmistakably a write/publish action, distinct from the read-oriented siblings (get-job, query-jobs, salary-benchmark), and the sourcing model (public link becomes the apply link) is stated up front.

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

Usage Guidelines5/5

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

Explicit when-to-use guidance throughout: pass quote_only to price without a checkout, call again after needs_fields, call again with corrected values or confirm_overrides after needs_confirmation, pass payment_token only with the person's approval and only after obtaining price via quote_only. It also names the exclusion case — non-tech roles are refused with not_a_tech_role.

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