TMCPServerIdentity Record
How a server describes itself and which optional capabilities it has switched on, gathered into one value that the revision-specific builders read when they compose the handshake or discovery response.
API unit family: TMS.MCP.ProtocolCapabilities
Syntax
TMCPServerIdentity = record
Remarks
The identity is the counterpart of the capability profile: the profile says what the negotiated revision permits, the identity says what this server offers. A switch is published only when both agree, so enabling one here against an older revision has no effect on the wire.
Fields and properties
| Name | Type | Description |
|---|---|---|
EnableCompletions |
Boolean |
Whether the server answers completion requests for prompt and resource-template arguments. True publishes the completions capability, so a client may ask for argument suggestions; False leaves it out. It is published only when the negotiated revision permits completions as well, so switching it on against an older revision has no effect. |
EnableElicitation |
Boolean |
Whether the server may ask the connected client for additional input. True publishes the elicitation capability and lets a running request send an elicitation to the client; False leaves the capability out and an attempt to elicit is refused as not enabled. It is published only when the negotiated revision permits elicitation as well. |
EnableLogging |
Boolean |
Whether the server accepts log-level requests and emits log messages. True publishes the logging capability, so a client may select the severity it wants and receive log notifications; False leaves the capability out and no log notification is sent. |
EnablePromptNotifications |
Boolean |
Whether the server announces that its prompt list can change. True publishes the list-changed member of the prompts capability and lets a change to the prompt collection be broadcast to connected clients; False publishes the member as cleared and makes sending such a notification do nothing. |
EnableResourceNotifications |
Boolean |
Whether the server announces that its resource list can change. True publishes the list-changed member of the resources capability and lets a change to the resource collection be broadcast to connected clients; False publishes the member as cleared and makes sending such a notification do nothing. |
EnableResourceSubscriptions |
Boolean |
Whether clients may subscribe to individual resources. True publishes the subscribe member of the resources capability, so a client may register for update notifications on a single resource; False leaves that member out. It is published only when the negotiated revision permits subscriptions as well. |
EnableSampling |
Boolean |
Whether the server may ask the client to run a model completion on its behalf. It widens the set of requests that may be handled as tasks, so it only affects the published capabilities when tasks are enabled as well. |
EnableTasks |
Boolean |
Whether long-running requests may be accepted as tasks. True publishes the tasks capability together with its list and cancel operations, lets a request that asks for task handling be accepted as one, and lets status-change notifications be sent; False answers every request immediately and suppresses those notifications. It is published only when the negotiated revision permits tasks as well. |
EnableToolNotifications |
Boolean |
Whether the server announces that its tool list can change. True publishes the list-changed member of the tools capability and lets a change to the tool collection be broadcast to connected clients; False publishes the member as cleared and makes sending such a notification do nothing. |
Instructions |
string |
Free-form guidance published to the client on how the server is meant to be used. Left out of the response when empty. |
ServerDescription |
string |
Short explanation of what the server offers. Left out of the response when empty. |
ServerIconsJSON |
string |
Icon descriptors for the server, serialized as a JSON array. Left out of the response when empty or when the text does not parse into an array. |
ServerName |
string |
Name published for the server in the handshake response. |
ServerVersion |
string |
Version published for the server in the handshake response. |
SupportsPagination |
Boolean |
Whether listings are returned one page at a time. Derived from the configured page size rather than set directly: it is True only once a page size above zero has been configured, and it marks the tool, resource and prompt capabilities as paginated. |