Skip to main content
Glama

Startup Jobs

List roles

list_roles
Read-onlyIdempotent

List roles from the role taxonomy (title, slug, parent_slug). Returns the most common roles by default, the roles whose title matches q, or the roles directly under parent. At most 100 roles are returned; total is how many matched. The slugs are the values the role filter of search_jobs, job_trends, and salary_benchmarks accepts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWords to match against role titles (e.g. product designer)
parentNoRole slug; returns the roles directly under it (e.g. engineering)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / parent
      Added value: +{
      +  "description": "Role slug; returns the roles directly under it (e.g. engineering)",
      +  "type": "string"
      +}
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Words to match against role titles (e.g. product designer)",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: a hard cap of 100 returned roles, a 'total' matched count that can exceed the returned set, and the fact that the default result is 'most common roles' rather than the full taxonomy — a non-obvious, non-exhaustive default. It does not say what happens to matches beyond the cap (there is no offset parameter), which keeps it below a 5.

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?

Three sentences, front-loaded with purpose and output shape, then modes, then constraint and downstream relevance. No redundancy, and the parenthetical field list is compact enough to earn its place.

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?

With no output schema, the description carries the return-value burden and largely does: field names, the 100-item cap, and the 'total' counter. It stops short of specifying the exact envelope (e.g. whether roles are nested under a key) and of explaining how to page past 100 results, which an agent would still need to guess.

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 100%, so both parameters are already documented with examples ('product designer', 'engineering'). The description restates that q matches titles and parent returns direct children, adding little beyond the schema; the one extra signal is that slug values are the ones accepted by other tools' role filters.

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 ('List roles from the role taxonomy') and enumerates the returned fields (title, slug, parent_slug), so the agent knows exactly what comes back. The closing sentence ties the output to the role filters of search_jobs, job_trends and salary_benchmarks, which separates this lookup tool from those analysis siblings.

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 the three operating modes — no argument for most common roles, q for title matching, parent for hierarchy — which tells the agent when each parameter path applies. It also signals the downstream use case (resolve slugs before calling job-search tools) but never states an explicit 'use this instead of X' exclusion, such as versus list_countries.

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.