Skip to main content
Glama

Sergio by Serviche

Change a staff member's details

edit_staff_member
Idempotent

Changes one staff member (staff_id, from read staff_roster or staff_detail) as Save in their staff drawer does. Pass only what changes: employmentType (employee reads Staff, contractor reads Contractor), payRateCents with payRateUnit (hour, visit or percent; null clears), payHidden (hide their pay from payroll views), venmo / zelle (tip handles; empty clears). To rename, use add_staff_member with rename_staff_id. Ending someone's employment is done by a person on the staff page. Nothing is sent. For several people, call once per person. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.

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": {
      "staff_id": "<staff_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "edit_staff_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
venmoNo
zelleNo
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
staff_idYes
payHiddenNo
payRateUnitNo
payRateCentsNo
employmentTypeNo
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / portalBookable
      Removed value: -{
      -  "title": "Clients can pick them in the portal",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / publicBookable
      Removed value: -{
      -  "title": "Customers can book them",
      -  "type": "boolean"
      -}
  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 readOnly=false, destructive=false, idempotent=true, so the safety profile is covered. The description adds real behavioral context beyond that: partial-update semantics, null/empty clearing behavior, and that an owner-level change triggers a notice from Sergio. The phrase 'Nothing is sent' is ambiguous and sits awkwardly next to the owner-notification sentence, leaving a minor gap.

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?

The core action is front-loaded in the first sentence and each subsequent sentence adds actionable detail. It is dense with parentheticals and the UI analogy 'as Save in their staff drawer does' plus the ambiguous 'Nothing is sent' slightly reduce clarity, but there is little outright waste.

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 9-parameter mutation with no output schema and low schema coverage, the description covers the meaningful fields, clearing behavior, batching, retry, and the owner-notification consequence. It leaves the response/return shape and the 'reason' field unaddressed in prose, but the schema fills those gaps, so it is largely complete.

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 only 22%, so the description carries most of the burden and does so for most params: employmentType display mapping (employee reads Staff, contractor reads Contractor), payRateCents paired with payRateUnit (hour/visit/percent; null clears), payHidden's effect, and venmo/zelle as tip handles that clear when empty. It does not explain 'reason' in the description, though the schema does.

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 ('Changes one staff member') and clarifies the scope via the staff_id origin ('from read staff_roster or staff_detail'). It explicitly routes rename requests to the sibling add_staff_member with rename_staff_id, so an agent can distinguish it from the create path without opening a 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?

Explicit when-to-use guidance ('Pass only what changes') and when-not alternatives: rename goes to add_staff_member, ending employment goes to the staff page. It also prescribes batching behavior ('For several people, call once per person') and retry semantics ('Pass the same idempotency_key when retrying').

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