Skip to main content
Glama

Mencoro

Update a project

update_project
DestructiveIdempotent

Rename a project, replace the website domains and brand names it is monitored for, or both. A rename alone removes nothing. brandProfile replaces both lists entirely: pass every domain and name the project should keep. A domain or brand name left out is removed, and later checks no longer match on it; results already recorded are not re-matched or deleted. Show the user the full new lists before calling. defaultLocation sets the location new Google SERP and Shopping queries start in (a country, and a city from search_cities or null for the whole country), or removes it with country null; it moves no existing query (set_project_default_location_and_move_queries does). A member restricted to selected projects may not change the website domains, only resubmit them unchanged. Safe to retry.

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": {
      "organizationId": "<organizationId>",
      "projectId": "<projectId>"
    },
    "name": "update_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
projectIdYes
brandProfileNoReplaces the website domains and brand names the project is monitored for.
organizationIdYes
defaultLocationNoSets the project default location: a country (ISO 3166-1 alpha-2) and a city of it from search_cities, or locationId null for the whole country; country null removes the default. Moves no existing query.

Output Schema

NameRequiredDescriptionDefault
projectYesThe project after the rename; null when no name was given.
brandProfileYesThe brand profile after the replacement; null when no brandProfile was given.
defaultLocationYesThe default location write: the default as stored (null when removed) and move, always null here; null when no defaultLocation was given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / defaultLocation
      Added value: +{
      +  "default": null,
      +  "description": "Sets the project default location: a country (ISO 3166-1 alpha-2) and a city of it from search_cities, or locationId null for the whole country; country null removes the default. Moves no existing query.",
      +  "properties": {
      +    "country": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "locationId": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "country",
      +    "locationId"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / defaultLocation
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "defaultLocation": {
      +          "description": "The location new Google SERP and Shopping queries of its country start in: a country, and a city of it or null for the whole country. Copied into a query when it is created, never inherited. Null when the project has no default.",
      +          "properties": {
      +            "country": {
      +              "description": "ISO-3166 alpha-2 country code",
      +              "type": "string"
      +            },
      +            "location": {
      +              "description": "The default city, in the country. Null for the whole country.",
      +              "properties": {
      +                "canonicalName": {
      +                  "description": "Google's canonical name of the city: city, region, country",
      +                  "type": "string"
      +                },
      +                "countryCode": {
      +                  "description": "ISO-3166 alpha-2 country code of the city",
      +                  "type": "string"
      +                },
      +                "displayName": {
      +                  "description": "The city's name for display, Spanish where it differs from Google's",
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "description": "Google geotarget id of the city, the value locationId and the locations filter take",
      +                  "type": "integer"
      +                },
      +                "regionDisplayName": {
      +                  "description": "The city's region for display, Spanish where it differs from Google's; null when Google names none",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "displayName",
      +                "regionDisplayName",
      +                "canonicalName",
      +                "countryCode"
      +              ],
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "country",
      +            "location"
      +          ],
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "move": {
      +          "description": "What the move did; null when no move was asked for.",
      +          "properties": {
      +            "failed": {
      +              "items": {
      +                "properties": {
      +                  "errorCode": {
      +                    "type": "string"
      +                  },
      +                  "errorMessage": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "errorCode",
      +                  "errorMessage"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "moved": {
      +              "properties": {
      +                "count": {
      +                  "type": "integer"
      +                },
      +                "ids": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "required": [
      +                "count",
      +                "ids"
      +              ],
      +              "type": "object"
      +            },
      +            "skipped": {
      +              "description": "Queries that stayed because the project already tracks the same text and engine in the new location.",
      +              "items": {
      +                "properties": {
      +                  "country": {
      +                    "type": "string"
      +                  },
      +                  "engine": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "location": {
      +                    "description": "The city a Google SERP or Shopping query is located in. Null at country level and for AI queries.",
      +                    "properties": {
      +                      "canonicalName": {
      +                        "type": "string"
      +                      },
      +                      "countryCode": {
      +                        "type": "string"
      +                      },
      +                      "displayName": {
      +                        "type": "string"
      +                      },
      +                      "id": {
      +                        "description": "Google geotarget id of the city, the value the locations filter and locationId take",
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "id",
      +                      "displayName",
      +                      "canonicalName",
      +                      "countryCode"
      +                    ],
      +                    "type": [
      +                      "object",
      +                      "null"
      +                    ]
      +                  },
      +                  "queryText": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "queryText",
      +                  "engine",
      +                  "country",
      +                  "location"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "state": {
      +              "enum": [
      +                "change",
      +                "first_default",
      +                "removal",
      +                "all_stay",
      +                "none",
      +                "country_change"
      +              ],
      +              "type": "string"
      +            },
      +            "unchanged": {
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "state",
      +            "moved",
      +            "skipped",
      +            "failed",
      +            "unchanged"
      +          ],
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "defaultLocation",
      +        "move"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The default location write: the default as stored (null when removed) and move, always null here; null when no defaultLocation was given."
      +}
    • changedOutput schema / properties / project / anyOf
      Previous value: -[
      -  {
      -    "description": "A project and the brand monitoring configuration its checks run against",
      -    "properties": {
      -      "brandNames": {
      -        "description": "Brand names matched in AI answers and search results. Empty when the project has no brand monitoring profile yet.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "competitors": {
      -        "description": "Competitors this project is measured against. Empty when none are configured.",
      -        "items": {
      -          "properties": {
      -            "brandNames": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "id": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "websiteDomains": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "id": {
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "organizationId": {
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "status": {
      -        "enum": [
      -          "active",
      -          "archived"
      -        ],
      -        "type": "string"
      -      },
      -      "websiteDomains": {
      -        "description": "Domains the project is monitored for. Empty when the project has no brand monitoring profile yet.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "organizationId",
      -      "name",
      -      "status",
      -      "createdAt",
      -      "websiteDomains",
      -      "brandNames",
      -      "competitors"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "A project and the brand monitoring configuration its checks run against",
      +    "properties": {
      +      "brandNames": {
      +        "description": "Brand names matched in AI answers and search results. Empty when the project has no brand monitoring profile yet.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "competitors": {
      +        "description": "Competitors this project is measured against. Empty when none are configured.",
      +        "items": {
      +          "properties": {
      +            "brandNames": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "id": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "websiteDomains": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "defaultLocation": {
      +        "description": "The location new Google SERP and Shopping queries of its country start in: a country, and a city of it or null for the whole country. Copied into a query when it is created, never inherited. Null when the project has no default.",
      +        "properties": {
      +          "country": {
      +            "description": "ISO-3166 alpha-2 country code",
      +            "type": "string"
      +          },
      +          "location": {
      +            "description": "The default city, in the country. Null for the whole country.",
      +            "properties": {
      +              "canonicalName": {
      +                "description": "Google's canonical name of the city: city, region, country",
      +                "type": "string"
      +              },
      +              "countryCode": {
      +                "description": "ISO-3166 alpha-2 country code of the city",
      +                "type": "string"
      +              },
      +              "displayName": {
      +                "description": "The city's name for display, Spanish where it differs from Google's",
      +                "type": "string"
      +              },
      +              "id": {
      +                "description": "Google geotarget id of the city, the value locationId and the locations filter take",
      +                "type": "integer"
      +              },
      +              "regionDisplayName": {
      +                "description": "The city's region for display, Spanish where it differs from Google's; null when Google names none",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "displayName",
      +              "regionDisplayName",
      +              "canonicalName",
      +              "countryCode"
      +            ],
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "country",
      +          "location"
      +        ],
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "organizationId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "status": {
      +        "enum": [
      +          "active",
      +          "archived"
      +        ],
      +        "type": "string"
      +      },
      +      "websiteDomains": {
      +        "description": "Domains the project is monitored for. Empty when the project has no brand monitoring profile yet.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "organizationId",
      +      "name",
      +      "status",
      +      "createdAt",
      +      "websiteDomains",
      +      "brandNames",
      +      "competitors",
      +      "defaultLocation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "project",
      -  "brandProfile"
      -]New value: +[
      +  "project",
      +  "brandProfile",
      +  "defaultLocation"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / brandProfile / type
      Previous value: -[
      -  "null",
      -  "object"
      -]New value: +[
      +  "object",
      +  "null"
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description earns credit beyond them by specifying what destruction means: omitted domains/names are removed and future checks stop matching, while already-recorded results are not re-matched or deleted. It also discloses the update-vs-replace asymmetry ("A rename alone removes nothing") and the permission constraint, and "Safe to retry" corroborates the idempotency hint.

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 opening sentence front-loads the three capabilities, then each paragraph tackles one parameter's risk profile with no filler. It runs long and repeats the replace-semantics idea for brandProfile and defaultLocation, but every clause carries operational information.

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 destructive, permission-sensitive mutation with an output schema, the description covers the risks (irreversible list replacement, non-re-matching of historical results), the cross-tool boundary, retry safety, and caller preconditions. 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, so the description must carry weight, and it does: brandProfile is framed as a full replace requiring every kept domain and name, and defaultLocation is explained as country plus city-from-search_cities or null for the whole country, with country null removing it. The name and organizationId parameters get only implicit treatment, which keeps this below a 5.

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?

"Rename a project, replace the website domains and brand names it is monitored for, or both" gives a specific verb set and resource, and enumerates exactly the three mutation surfaces the tool exposes. It is clearly separable from siblings like set_project_default_location_and_move_queries and archive_project.

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?

It states when-not conditions explicitly: defaultLocation "moves no existing query (set_project_default_location_and_move_queries does)", routing the agent to the correct alternative for query-moving. It also adds a caller-side rule ("Show the user the full new lists before calling") and a permission exclusion for members restricted to selected projects.

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.