Skip to main content
Glama

Upsert project partner

upsert_project_partner
Idempotent

A company's role in the project as a whole, with what a consortium agreement adds: participant number, short name, PIC, total person months, maximum grant amount. The participant number lives here rather than on the company because it belongs to this contract and can shift between proposal and signed agreement — it decides what goes on financial reports. Pass entry_id to change one, or project_id + company_id + role_id to create.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upsert_project_partner"
  }
}

Input Schema

NameRequiredDescriptionDefault
picNoParticipant Identification Code — under Horizon the only unambiguous key for a partner.
notesNo
role_idNoFrom list_company_roles.
entry_idNo
priorityNo
company_idNo
contact_idNo
project_idNo
short_nameNo
max_grant_amountNo
participant_numberNo
total_person_monthsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious domain context — the participant number belongs to this contract rather than the company, can shift between proposal and signed agreement, and drives financial reports. It is silent, however, on update semantics for the other 11 fields (are omitted fields preserved or cleared?) and on what identifies a conflicting record.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

There is no filler, but the structure is inverted for an action tool: the first two sentences are entity-model prose and the actionable create/update instruction is buried at the end. Phrasings like 'with what a consortium agreement adds' take a second read to parse.

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

Completeness2/5

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

This is a 12-parameter mutation with zero required parameters, 17% schema coverage, and no output schema. The description never says which fields are needed for a create to succeed, what happens when a matching partner already exists, or how partial updates treat unset fields — the gaps an agent would actually hit when invoking it.

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 only 17%, so the description must carry most of the load; it names roughly nine of twelve fields but mostly restates their names rather than explaining meaning or format. Its real contribution is the key-selection logic (entry_id for update vs project_id/company_id/role_id for create). notes, priority, and contact_id are left entirely undocumented in both places.

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 identifies the resource as a company's role in a project under a consortium agreement and enumerates the fields it carries, then states the create-vs-update keys. It also distinguishes the participant number from company-level data, which disambiguates it from company-scoped siblings. It never explicitly says 'upsert' or names a sibling like upsert_work_package_partner, so the differentiation is partial rather than crisp.

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 final sentence gives concrete routing: pass entry_id to change an existing record, or project_id + company_id + role_id to create one. That is explicit mode selection for the two operations the tool supports. It does not say when to prefer this over upsert_work_package_partner or delete_project_partner, and lists no prerequisites or exclusions.

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