Skip to main content
Glama

add_role

Add a new ongoing role to a Master Profile after hiring, and optionally close prior open roles the day before the new start date.

Instructions

Add a new ongoing role to the Master Profile (post-hire update). close_role_ids lists prior open roles to close; each is closed the day before start_date. Dates are YYYY-MM-DD.

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": {
      "title": "<title>",
      "company": "<company>",
      "start_date": "<start_date>"
    },
    "name": "add_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
companyYes
industryNo
locationNo
start_dateYes
close_role_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.46.0-beta

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one real side effect: roles listed in close_role_ids are closed the day before start_date. It does not state whether this creates a new entry or merges into an existing one, what happens on overlapping dates, or what identifiers come back, leaving meaningful mutation behavior undisclosed.

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?

Three short sentences, front-loaded with the action and scope, then the destructive side effect, then the format rule. Nothing is padded, though the parenthetical and the date-format note are slightly compressed and could be ordered for faster scanning.

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 six-parameter mutation with no annotations and no output schema, the description covers the essential call-correctness facts: what it creates, the side effect of close_role_ids, and the date format. The notable gap is the absence of any statement about the return value or how to reference the newly created role afterward.

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 0%, so the description must compensate, and it does for the two non-obvious parameters: close_role_ids gets both meaning and timing semantics, and start_date gets a YYYY-MM-DD format rule. The remaining four fields (title, company, industry, location) are self-evident from their names, but nothing is said about whether industry/location are optional or how they are normalized.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Add a new ongoing role to the Master Profile') and scopes it with '(post-hire update)', so the agent knows this is the post-hire path rather than a general profile edit. It stops short of naming a contrasting sibling such as update_profile, so the differentiation is implied rather than explicit.

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

Usage Guidelines3/5

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

The parenthetical '(post-hire update)' gives a usable context cue for when this tool applies, but there is no explicit when-not guidance and no alternative named for pre-hire or correction scenarios. The agent must infer that correcting an existing role is handled elsewhere.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.