Skip to main content
Glama

upsert_project

Create or update a Chilli project by name and manage its description, active status, and owned sites; omitted fields remain unchanged.

Instructions

Adds a project or changes the existing one with the same name.

name: project name.
description: 1-2 sentences on what the project is about; the model rates saves against this description.
active: false = project finished: new saves are not rated for it, and top_saves without a project
    skips it. Its old ratings are visible through top_saves(project=...) until re-rating (rerate --all).
own_sites: pages the owner publishes for this project, e.g. ["example.com", "github.com/owner/repo"]
    (a domain covers its subdomains, a path covers everything below it). Saves and RSS entries from
    them are the owner's own content: marked with own_project and left out of top_saves,
    from_archive and feed_highlights. Replaces the whole list; [] clears it.
Omitted fields stay unchanged. A new project covers saves from now on; older ones are re-rated
by the owner on the server (python -m app.rerate).

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": {
      "name": "<name>"
    },
    "name": "upsert_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
activeNo
own_sitesNo
descriptionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses partial-update semantics ("Omitted fields stay unchanged"), list replacement with [] as an explicit clear, and the downstream effect that a new project only rates saves from now on while older saves need server-side re-rating. It omits any mention of permissions/ownership requirements, which keeps it from 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.

Conciseness4/5

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

The purpose sentence is front-loaded and the per-parameter block is scannable, with each field's entry earning its place through non-obvious semantics. Minor noise comes from operational references like "rerate --all" and "python -m app.rerate", which are implementation detail an agent cannot act on.

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?

An output schema exists, so return values need not be explained, and the mutation/partial-update semantics plus side effects on rating are well covered. The remaining gap is who is allowed to create or modify projects and what happens on name collision with a project the caller does not own.

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 description coverage is 0%, so the description must supply meaning and it does for all four parameters: name as the upsert key, description as the text the model rates saves against, active's effect on rating and top_saves, and own_sites' domain/path coverage rules plus replace-not-merge semantics. Only parameter types/format details (e.g. whether own_sites entries accept schemes) remain unstated.

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?

"Adds a project or changes the existing one with the same name" gives a specific verb set (create-or-update) and resource (project), and crucially names the upsert key (name) so the agent knows insertion vs. mutation is decided by name collision. It does not explicitly contrast with siblings such as list_projects, so it stops short of a 5.

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 description explains the consequences of each field (e.g. active=false suspends rating, own_sites replaces the whole list), which implicitly signals when to use those fields, but it never states when to call this tool versus alternatives or any prerequisites. Usage is inferable rather than stated.

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