Skip to main content
Glama

Update profile entry

update_profile_item
Idempotent

Change one existing entry in a résumé section of a candidate profile. Pass the entry's id and item with its section and the fields to write; an optional field left out keeps its value, so read the entry first with get_profile_section if unsure. A new entry goes through add_profile_item. Fails with not found when the id is not in that section of that profile. Repeating the call is harmless. Returns the updated entry.

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": {
      "id": "<id>",
      "itemId": "<itemId>",
      "item": "<item>"
    },
    "name": "update_profile_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the profile to change, from list_profiles.
itemYesThe entry, tagged with its section. Each section takes its own fields — see the variant for that section. Every field you pass is written; on update an optional field you leave out keeps its current value.
itemIdYesId of the entry, from get_profile_section with the same section.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / item / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "company": {
      -        "description": "Employer name, e.g. Acme Corp.",
      -        "type": "string"
      -      },
      -      "description": {
      -        "description": "This position's own achievements. Do not carry another position's bullets into it.",
      -        "type": "string"
      -      },
      -      "endDate": {
      -        "description": "ISO date string — when THIS position ended; omit if it is current. Leaving a company and returning later is two entries, even under the same title: the dates are the only thing that tells the two apart, so never close the gap between them.",
      -        "type": "string"
      -      },
      -      "location": {
      -        "description": "Where the position was based, e.g. Berlin or Remote.",
      -        "type": "string"
      -      },
      -      "position": {
      -        "description": "Job title for this position. One entry per POSITION, never per company. A promotion (junior → senior) is two entries, each with its own title and its own dates — the profile groups them under the company for display, so merging them here only destroys the dates it groups by.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "work-experience",
      -        "description": "The work-experience section: one paid position (a promotion is a new entry); unpaid roles go in volunteering.",
      -        "type": "string"
      -      },
      -      "startDate": {
      -        "description": "ISO date string — when THIS position started, not when the person joined the company.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "position",
      -      "company"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "degree": {
      -        "description": "Degree level, one of HIGH_SCHOOL, ASSOCIATE, BACHELOR, MASTER, DOCTORATE, MBA, DIPLOMA, CERTIFICATE, OTHER. Any other value is rejected.",
      -        "type": "string"
      -      },
      -      "endDate": {
      -        "description": "When study ended or is expected to end as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "fieldOfStudy": {
      -        "description": "Subject or major, e.g. Computer Science.",
      -        "type": "string"
      -      },
      -      "institution": {
      -        "description": "School, college or university name.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "education",
      -        "description": "The education section: one degree, diploma or course of study.",
      -        "type": "string"
      -      },
      -      "startDate": {
      -        "description": "When study started as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "degree",
      -      "fieldOfStudy",
      -      "institution"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "description": "The recommendation text itself, as the recommender wrote it.",
      -        "type": "string"
      -      },
      -      "experienceId": {
      -        "description": "Id of a work-experience item on THIS profile that the recommendation is about (from get_profile_section with section=work-experience). An id from another profile is rejected. Pass an empty string to unlink.",
      -        "type": "string"
      -      },
      -      "peerName": {
      -        "description": "Name of the person who gave the recommendation.",
      -        "type": "string"
      -      },
      -      "peerRelationship": {
      -        "description": "How they know the candidate, e.g. Engineering manager at Acme.",
      -        "type": "string"
      -      },
      -      "projectId": {
      -        "description": "Id of a project item on THIS profile that the recommendation is about (from get_profile_section with section=projects). An id from another profile is rejected. Pass an empty string to unlink.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "recommendations",
      -        "description": "The recommendations section: a testimonial someone wrote, optionally tied to one position or project.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "peerName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "credentialId": {
      -        "description": "The credential or license number shown on the certificate.",
      -        "type": "string"
      -      },
      -      "credentialUrl": {
      -        "description": "Public URL where the credential can be verified.",
      -        "type": "string"
      -      },
      -      "expiryDate": {
      -        "description": "When it expires; omit if it does not expire as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "issueDate": {
      -        "description": "When it was issued as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "issuer": {
      -        "description": "Organization that issued it, e.g. Amazon Web Services.",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Certification name, e.g. AWS Certified Solutions Architect – Associate.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "certifications",
      -        "description": "The certifications section: a professional certification or license.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "description": "What the project is and the candidate's part in it.",
      -        "type": "string"
      -      },
      -      "endDate": {
      -        "description": "When it ended; omit if ongoing as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Project name.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "projects",
      -        "description": "The projects section: a personal, open-source or work project; a new one goes on top.",
      -        "type": "string"
      -      },
      -      "startDate": {
      -        "description": "When the project started as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Public link to the project: repository, live site or write-up.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "description": "When it was received as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "description": {
      -        "description": "What it was given for.",
      -        "type": "string"
      -      },
      -      "issuer": {
      -        "description": "Organization that gave the award.",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "Award or honor name, e.g. Dean's List.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "awards",
      -        "description": "The awards section: an award, honor or prize.",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Public link about the award, if one exists.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "date": {
      -        "description": "When it was published as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "publications",
      -        "description": "The publications section: an article, paper, book or talk the candidate authored.",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "Title of the article, paper, book or talk.",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Public link to the publication.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "title"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "company": {
      -        "description": "Organization volunteered with.",
      -        "type": "string"
      -      },
      -      "description": {
      -        "description": "What the role involved.",
      -        "type": "string"
      -      },
      -      "endDate": {
      -        "description": "When it ended; omit if ongoing as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      },
      -      "position": {
      -        "description": "Volunteer role, e.g. Mentor.",
      -        "type": "string"
      -      },
      -      "section": {
      -        "const": "volunteering",
      -        "description": "The volunteering section: one unpaid or volunteer role.",
      -        "type": "string"
      -      },
      -      "startDate": {
      -        "description": "When the role started as an ISO 8601 date string, e.g. 2024-03-01.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "section",
      -      "position",
      -      "company"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "company": {
      +        "description": "Employer name, e.g. Acme Corp.",
      +        "type": "string"
      +      },
      +      "description": {
      +        "description": "This position's own achievements. Do not carry another position's bullets into it.",
      +        "type": "string"
      +      },
      +      "endDate": {
      +        "description": "ISO date string — when THIS position ended; omit if it is current. Leaving a company and returning later is two entries, even under the same title: the dates are the only thing that tells the two apart, so never close the gap between them.",
      +        "type": "string"
      +      },
      +      "location": {
      +        "description": "Where the position was based, e.g. Berlin or Remote.",
      +        "type": "string"
      +      },
      +      "position": {
      +        "description": "Job title for this position. One entry per POSITION, never per company. A promotion (junior → senior) is two entries, each with its own title and its own dates — the profile groups them under the company for display, so merging them here only destroys the dates it groups by.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "work-experience",
      +        "description": "The work-experience section: one paid position (a promotion is a new entry); unpaid roles go in volunteering.",
      +        "type": "string"
      +      },
      +      "startDate": {
      +        "description": "ISO date string — when THIS position started, not when the person joined the company.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "position",
      +      "company"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "degree": {
      +        "description": "Degree level, one of HIGH_SCHOOL, ASSOCIATE, BACHELOR, MASTER, DOCTORATE, MBA, DIPLOMA, CERTIFICATE, OTHER. Any other value is rejected.",
      +        "type": "string"
      +      },
      +      "endDate": {
      +        "description": "When study ended or is expected to end as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "fieldOfStudy": {
      +        "description": "Subject or major, e.g. Computer Science.",
      +        "type": "string"
      +      },
      +      "institution": {
      +        "description": "School, college or university name.",
      +        "type": "string"
      +      },
      +      "location": {
      +        "description": "Where the school is, e.g. Fox Point, WI.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "education",
      +        "description": "The education section: one degree, diploma or course of study.",
      +        "type": "string"
      +      },
      +      "startDate": {
      +        "description": "When study started as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "degree",
      +      "fieldOfStudy",
      +      "institution"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "description": "The recommendation text itself, as the recommender wrote it.",
      +        "type": "string"
      +      },
      +      "experienceId": {
      +        "description": "Id of a work-experience item on THIS profile that the recommendation is about (from get_profile_section with section=work-experience). An id from another profile is rejected. Pass an empty string to unlink.",
      +        "type": "string"
      +      },
      +      "peerName": {
      +        "description": "Name of the person who gave the recommendation.",
      +        "type": "string"
      +      },
      +      "peerRelationship": {
      +        "description": "How they know the candidate, e.g. Engineering manager at Acme.",
      +        "type": "string"
      +      },
      +      "projectId": {
      +        "description": "Id of a project item on THIS profile that the recommendation is about (from get_profile_section with section=projects). An id from another profile is rejected. Pass an empty string to unlink.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "recommendations",
      +        "description": "The recommendations section: a testimonial someone wrote, optionally tied to one position or project.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "peerName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "credentialId": {
      +        "description": "The credential or license number shown on the certificate.",
      +        "type": "string"
      +      },
      +      "credentialUrl": {
      +        "description": "Public URL where the credential can be verified.",
      +        "type": "string"
      +      },
      +      "expiryDate": {
      +        "description": "When it expires; omit if it does not expire as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "issueDate": {
      +        "description": "When it was issued as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "issuer": {
      +        "description": "Organization that issued it, e.g. Amazon Web Services.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Certification name, e.g. AWS Certified Solutions Architect – Associate.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "certifications",
      +        "description": "The certifications section: a professional certification or license.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "description": "What the project is and the candidate's part in it.",
      +        "type": "string"
      +      },
      +      "endDate": {
      +        "description": "When it ended; omit if ongoing as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Project name.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "projects",
      +        "description": "The projects section: a personal, open-source or work project; a new one goes on top.",
      +        "type": "string"
      +      },
      +      "startDate": {
      +        "description": "When the project started as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Public link to the project: repository, live site or write-up.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "description": "When it was received as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "description": {
      +        "description": "What it was given for.",
      +        "type": "string"
      +      },
      +      "issuer": {
      +        "description": "Organization that gave the award.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "Award or honor name, e.g. Dean's List.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "awards",
      +        "description": "The awards section: an award, honor or prize.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Public link about the award, if one exists.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "description": "When it was published as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "publications",
      +        "description": "The publications section: an article, paper, book or talk the candidate authored.",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "Title of the article, paper, book or talk.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Public link to the publication.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "title"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "company": {
      +        "description": "Organization volunteered with.",
      +        "type": "string"
      +      },
      +      "description": {
      +        "description": "What the role involved.",
      +        "type": "string"
      +      },
      +      "endDate": {
      +        "description": "When it ended; omit if ongoing as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      },
      +      "position": {
      +        "description": "Volunteer role, e.g. Mentor.",
      +        "type": "string"
      +      },
      +      "section": {
      +        "const": "volunteering",
      +        "description": "The volunteering section: one unpaid or volunteer role.",
      +        "type": "string"
      +      },
      +      "startDate": {
      +        "description": "When the role started as an ISO 8601 date string, e.g. 2024-03-01.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "section",
      +      "position",
      +      "company"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, but the description adds real context beyond them: partial-update semantics (omitted optional fields keep their values), the precise not-found condition tied to section+profile, and the return value. 'Repeating the call is harmless' largely restates idempotentHint, and nothing is said about permissions or concurrent edits, so it stops short of 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?

Five short sentences, each load-bearing: purpose, invocation, partial-update rule, sibling routing, error condition, idempotency, return. The core action is front-loaded and there is no filler.

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 three-parameter nested-item mutation with no output schema, the description covers what it mutates, how partial fields behave, which sibling handles the create case, what error to expect, and what is returned. 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 description coverage is 100% and the schema itself already explains that omitted optional fields keep their current value and documents id/itemId/item. The description's parameter sentence mostly mirrors that, adding only the section-scoped not-found constraint. Baseline 3 is appropriate when the schema carries the semantics.

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 — 'Change one existing entry in a résumé section of a candidate profile' — and immediately bounds it to existing entries, which separates it from add_profile_item. An agent can tell update apart from create/delete siblings without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit routing: new entries go through add_profile_item, and when unsure the agent should first call get_profile_section to read current values. It also names the failure condition (id not in that section of that profile), so the agent knows when a not-found is expected rather than a bug.

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