MCP toolsAccount and sitesUpdated
Keep a site out of portfolios
What does mttr_portfolio_veto do?
For the owner of a site: takes it out of every portfolio but their own, at once. With out set to false it puts it back. A key may make this call on the sites it has claimed.
When to use it
- Someone else lists your site in their portfolio and you would rather they did not.
What you ask
You say“Take example.com out of everyone else’s portfolio.”
Your assistant calls
mttr_portfolio_veto({ site: "example.com", out: "out" })
| Argument | Type | Needed | What it is |
|---|---|---|---|
site | Text | Yes | The site, as a domain such as example.com. |
out | True or false | No | True to take it out, false to put it back. True if left out. |
What comes back
- Whether the site is out of other portfolios.
- Site proved yours
- 2Taken out
- 3Back in
example.com is in no portfolio but yours.
Made-up sites and figures, to show the shape of the answer. The answer itself is JSON.
Over HTTP
It is POST /api/v1/portfolio/veto, with your key as a bearer token:
curl -X POST "https://mttr.si/api/v1/portfolio/veto" \
-H "Authorization: Bearer $MTTR_KEY" \
-H "Content-Type: application/json" \
-d '{"site":"example.com","out":"out"}'When it fails
| When | Status | What to do |
|---|---|---|
| Your assistant has no key yet | 401 over MCP | Sign up with mttr_signup, then connect again with the key it gives. |
Every error’s wording is in the API reference.
The call in full, with its HTTP address, each argument’s type, who may make it and the call in four languages, is mttr_portfolio_veto in the API reference.