Skip to main content
Glama

generate_role

Start generating a structured role profile — description, responsibilities, skills with proficiency levels. Returns immediately with a role_id; generation continues in the background, so poll check_role_status. Spends one of this account's role-generation credits. Only one generation runs at a time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_titleYesA single job title, e.g. "Staff Data Engineer". Not a list.
company_nameYesThe organization the role is for.
job_descriptionNoFull text of a related job description, used as source context. Strongly recommended for titles labor-market data may not recognize.
learning_resources_sourceNoWhich catalog the suggested courses come from. Ignored when include_learning_resources is false.Skillsoft
include_learning_resourcesNoAttach suggested courses to each skill, readable later at result[].skills[].learning_resources. On by default. Turn it off for a shorter profile when nobody is going to act on the training suggestions.
use_job_description_if_title_not_foundNoBuild the role from the job description when the title cannot be matched to labor-market data, instead of failing. Defaults to true when job_description is supplied, and has no effect without one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does a strong job: it reveals asynchronous execution, immediate role_id return, background generation, single-flight concurrency, and credit consumption. It stops short of describing failure states or credit exhaustion behavior, but the core side effects are disclosed clearly.

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 cover the action, output, async behavior, cost, and concurrency constraint with zero filler. The most important information—what the tool does and what it returns—is front-loaded, and every sentence earns 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?

For an async generation tool with no output schema, the description explains the immediate return value, background processing, polling path, credit cost, and concurrency limit. A small gap is that it does not mention how to retrieve the final generated profile beyond polling status, but overall the essential operational context is present.

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 the structured schema already documents every parameter. The description adds no parameter-specific meaning, but it does not need to because the schema is self-sufficient. Baseline 3 is appropriate.

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?

The description opens with a specific verb and resource: 'Start generating a structured role profile' and enumerates what the profile contains (description, responsibilities, skills with proficiency levels). It clearly distinguishes this from sibling tools by noting the async pattern and the need to poll check_role_status, so an agent can tell it apart from assess_job_description or get_role.

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?

The description gives clear context for when to use the tool: when a structured role profile is needed, and it explicitly directs the agent to poll check_role_status afterward. It does not enumerate when-not-to-use alternatives like assess_job_description, but the purpose and follow-up action are unambiguous enough for safe invocation.

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