Skip to main content
Glama

Upsert project member budget

upsert_project_member_budget
Idempotent

One person's hour and cost budget for one year of a project. budget_hours is the cap (the "1720" in 1004/1720), planned_hours what is currently planned against it. Keyed on project + name + year, so calling it twice updates rather than doubling the cap.

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": {
      "project_id": "<project_id>",
      "person_name": "<person_name>",
      "year": "<year>"
    },
    "name": "upsert_project_member_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYes
notesNo
project_idYes
budget_costNo
hourly_rateNo
person_nameYes
budget_hoursNo
personnel_idNoOptional link to a personnel record.
planned_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true and destructiveHint=false; the description earns credit for explaining WHY — the composite key causes a second call to update rather than duplicate the cap. It does not disclose the critical upsert behavior of what happens to omitted fields (null vs. unchanged), nor whether new member budgets are silently created, which is the main ambiguity for a 9-parameter mutation.

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 tight sentences, front-loaded with the entity definition, then field meaning, then key/idempotency semantics. The "1004/1720" illustration conveys the cap-vs-planned distinction faster than a paragraph would, and no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations covering field handling, so the description carries real weight for a 9-parameter write tool with 3 required params. It covers the key and two fields well but leaves the remaining six parameters and the null-handling contract unexplained, so an agent still cannot call it with full confidence.

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?

With schema description coverage at 11%, the description must compensate, and it does explain two otherwise opaque fields: budget_hours as the cap ("the 1720 in 1004/1720") and planned_hours as what is planned against it. However, budget_cost, hourly_rate, notes, and the relationship between cost and hours go undocuments, and there is no guidance on null semantics for the four nullable numeric fields.

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?

States the resource precisely — "One person's hour and cost budget for one year of a project" — and names the composite key (project + name + year), which is the tool's real identity. It never explicitly frames itself as an upsert/create-or-update operation in those terms and does not distinguish itself from the sibling delete_project_member_budget or the project-level upsert_project_budget_line.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives such as upsert_project_budget_line or upsert_personnel_cost_month. The closest thing is the note that "calling it twice updates rather than doubling the cap," which describes repeat-call mechanics rather than selection between tools.

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