Skip to main content
Glama

selectrole

Get a role

get-job
Read-onlyIdempotent

Fetch one live role by its slug (the slug field of a query-jobs card) or its url. Without an API key it returns the summary card and the role's key facts under details (stack, visa, equity, time zone, apply_url and the like, only those it states); with a free key (Authorization: Bearer sr_…, made in account settings under API keys) it also returns description, the full role text in markdown. Open the returned url for everything else.

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": {
      "slug": "<slug>"
    },
    "name": "get-job"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe role slug from a card's slug field, for example senior-backend-engineer-linear-drwhs3-8d9e41af-f726-43dc-adec-8b29f8074202. Copy it as returned: slugs end in a company suffix and an id, so one guessed from a title will not match. A role url also works.

Output Schema

NameRequiredDescriptionDefault
urlNoThe role's page. Cite it.
slugNoPass it to get-job.
errorNoOnly on an error result (isError).
titleNo
companyNo
detailsNoThe role's key facts, only those it states.
summaryNo
currencyNo
locationNo
mentionsNoOnly when query-jobs filters on stack or main_stack and the posting names the technology: what it says about it.
rate_maxNo
rate_minNoPay per salary_period, when that is not a year.
posted_atNoISO 8601; null when the board gave no date.
seniorityNoNull when the posting states no level.
sponsoredNoTrue when the company paid to promote the role. A few of these lead the default order; say so when you show one.
workplaceNo
salary_maxNo
salary_minNo
descriptionNoThe full role text, only with an API key.
published_atNoISO 8601; when selectrole published the role.
salary_labelNo
salary_periodNoyear, month, week, day or hour: the period the posting states pay in.
verified_open_atNo
description_formatNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations (which only declare read-only, idempotent, non-destructive) by disclosing a tiered auth model: unauthenticated calls return only the summary card and stated key facts, while a free bearer key adds the full markdown description, and it even names where the key is created. This is exactly the kind of behavior an agent cannot infer from structured fields.

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

Conciseness4/5

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

Front-loads verb and resource, then auth tiers, with no filler sentences. The sentences are long and clause-dense (nested parentheses around the key format and key-facts list), which slightly slows scanning but every clause carries information.

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 one-parameter, read-only lookup with a full output schema and rich annotations, the description supplies the remaining gaps: how to source the slug, the auth-dependent payload difference, and the fallback for anything beyond the description. Nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the schema description already states that slugs must be copied as returned, end in a company suffix plus id, and that a url also works. The description restates the same facts rather than adding new parameter semantics, so the baseline of 3 applies.

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 ('Fetch one live role') plus the lookup keys (slug or url), and anchors the slug to a concrete sibling ('the slug field of a query-jobs card'), so an agent can distinguish it from query-jobs and get-company without opening a schema.

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?

Explains how to obtain the input (use a card's slug field) and when to stop using this tool and instead 'open the returned url for everything else', which is clear fallback guidance. It does not explicitly name sibling alternatives such as query-jobs for search, but the entry point is unambiguous.

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