Skip to main content
Glama

Search roles

search_roles
Read-onlyIdempotent

Search open internships, co-ops and student jobs. Every argument is optional and they combine; a list matches any of its values. Newest first, except that roles with the query in their title or skills, and with more of the asked skills, come first. Returns the total, a page of roles (summary, places, terms, required skills, matched, applyUrl) and nextCursor. get_roles has the full posting.

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": {
      "context": "<context>"
    },
    "name": "search_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRoles per page, 1 to 25, default 10.
queryNoWords that must all appear (title, text, skills, company, places): "data analyst", "rbc", "swe". Short forms like swe, ml, pm, qa work. Also "exact phrase", a or b, -word.
termsNoUp to 6 work terms, matched within the name: ["Summer 2027"], ["fall"], ["2027"].
typesNoKinds of role.
cursorNonextCursor from the previous page, with the same arguments.
fieldsNoBroad areas of work.
majorsNoUp to 10 of the person's majors: roles asking for any of them or open to any major.
remoteNoAdd remote roles anywhere to a location; alone, only remote roles.
skillsNoUp to 10 skills or tools, like ["python", "sql", "excel"]: roles asking for any of them, those with more first.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
lengthsNoTerm lengths in months, 1 to 24, like [4, 8].
locationNoA town ("Waterloo", "London, ON"), province or state ("Ontario", "BC"), country ("Canada"), or "remote". "Toronto or remote" adds remote roles.
companiesNoUp to 10 company names, like ["RBC", "Shopify"].
languagesNoOnly roles that require one of these languages.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
radius_kmNoHow far around a town, in km: 1 to 500, default 50.
categoriesNoFiner areas than fields.
work_modesNoHow the role is worked.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
exclude_languagesNoLeave out roles that require these, like ["French"] for someone who only speaks English.
posted_within_daysNoOnly roles posted in the last n days, 1 to 365.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "context"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, and the description still adds genuinely useful behavior: the ordering rule ("Newest first, except that roles with the query in their title or skills, and with more of the asked skills, come first") and the exact return shape (total, page of summaries with places/terms/matched/applyUrl, nextCursor). It does not mention empty-result behavior, but what it discloses beyond structured fields is substantial.

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?

Four sentences, front-loaded with purpose, then argument-combination rules, then ordering, then return shape. Dense but no filler. The ranking sentence is slightly convoluted in construction ("except that roles with the query... come first"), costing a point.

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?

For a 21-parameter search with no output schema, the description covers the pieces an agent most needs: combination logic, ranking, and the returned fields including the pagination cursor. The remaining gap is operational detail such as cursor reuse across changed arguments, though the schema itself notes cursor must be used "with the same arguments."

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 100%, so the baseline is 3, but the description adds cross-parameter semantics the schema cannot express: AND across arguments, OR within a list, and the fact that skill hits influence ranking. That is meaningfully more than restating field docs.

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?

"Search open internships, co-ops and student jobs" gives a specific verb and resource immediately, and the closing line "get_roles has the full posting" separates this summarization search from the detail sibling. An agent can tell which of the two to call without opening either 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?

It states that "every argument is optional and they combine" and that list arguments match any value, which is real guidance on how to build a call. It also routes to get_roles for the full posting. It stops short of explicit when-not-to-use conditions (e.g. browsing filters instead), so it is clear context rather than a full routing rule.

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