# Noun programs: retire, trace

URL: /code/mcp/noun/verbs · Id: `page:code/mcp/noun/verbs`

> The Noun Verbs retire, trace as MCP do programs, with inputs, result, refusals and an example.

Reference for [Noun](/business/nouns/noun), one group of [Noun programs](/code/mcp/noun).

### Noun.retire
Retire removes a published Noun from new Versions; its records, its history and every pinned Version keep serving. [Verb page](/business/nouns/noun/retire?interface=mcp).

```text
do: return await $.Noun.retire(input)
```

Emits [`Noun.retired`](/business/events/Noun.retired).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `noun` | [Noun](/business/nouns/noun) | Yes | The Noun to retire. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `version` | [Version](/business/nouns/version) | Yes | The new Version, without the Noun. |
| `noun` | [Noun](/business/nouns/noun) | Yes | The Noun, now retired from new Versions. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Noun.retire({ noun: 'noun_v0akLUrXCN' })"
  }
}
```

### Noun.trace
Trace lists every Verb, Process, Offer, Dashboard and Version that references a Noun, so an edit or a retire shows its reach first. [Verb page](/business/nouns/noun/trace?interface=mcp).

```text
do: return await $.Noun.trace(input)
```

Emits [`Noun.traced`](/business/events/Noun.traced).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `noun` | [Noun](/business/nouns/noun) | Yes | The Noun to trace. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `uses` | `json` | Yes | Each referencing entry, by kind and id, with the published Versions that serve it. |
| `noun` | [Noun](/business/nouns/noun) | Yes | The Noun traced. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Noun.trace({ noun: 'noun_v0akLUrXCN' })"
  }
}
```