Skip to content

Class: HasName

Mixin for types that carry name and title.

URI: mcp:HasName

 classDiagram
    class HasName
    click HasName href "../HasName/"
      HasName <|-- Implementation
        click Implementation href "../Implementation/"
      HasName <|-- ResourceLink
        click ResourceLink href "../ResourceLink/"
      HasName <|-- Resource
        click Resource href "../Resource/"
      HasName <|-- ResourceTemplate
        click ResourceTemplate href "../ResourceTemplate/"
      HasName <|-- PromptArgument
        click PromptArgument href "../PromptArgument/"
      HasName <|-- Prompt
        click Prompt href "../Prompt/"
      HasName <|-- PromptReference
        click PromptReference href "../PromptReference/"
      HasName <|-- Tool
        click Tool href "../Tool/"

      HasName : name

      HasName : title

Class Properties

Property Value
Mixin Yes

Slots

Name Cardinality and Range Description Inheritance
name 0..1
String
Intended for programmatic or logical use, but used as a display name in past ... direct
title 0..1
String
Intended for UI and end-user contexts — optimized to be human-readable and ea... direct

Mixin Usage

mixed into description
Implementation Describes the MCP implementation
ResourceLink A resource that the server is capable of reading, included in a prompt or too...
Resource A known resource that the server is capable of reading
ResourceTemplate A template description for resources available on the server
PromptArgument Describes an argument that a prompt can accept
Prompt A prompt or prompt template that the server offers
PromptReference Identifies a prompt
Tool Definition for a tool the client can call

Aliases

  • BaseMetadata

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:HasName
native mcp:HasName

LinkML Source

Direct

name: HasName
description: Mixin for types that carry name and title.
from_schema: https://w3id.org/lmodel/mcp
aliases:
- BaseMetadata
mixin: true
slots:
- name
- title

Induced

name: HasName
description: Mixin for types that carry name and title.
from_schema: https://w3id.org/lmodel/mcp
aliases:
- BaseMetadata
mixin: true
attributes:
  name:
    name: name
    description: Intended for programmatic or logical use, but used as a display name
      in past specs or fallback (if title is not present).
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: schema:name
    alias: name
    owner: HasName
    domain_of:
    - HasName
    - ToolUseContent
    - Root
    - CompletionArgument
    - SchemaProperties
    - ElicitationContent
    - ModelHint
    - CallToolRequestParams
    - GetPromptRequestParams
    range: string
  title:
    name: title
    description: Intended for UI and end-user contexts — optimized to be human-readable
      and easily understood.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: dct:title
    alias: title
    owner: HasName
    domain_of:
    - HasName
    - ToolAnnotations
    - EnumOption
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string