Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/everything/tools/echo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const config = {
title: "Echo Tool",
description: "Echoes back the input string",
inputSchema: EchoSchema,
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};

/**
Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/get-annotated-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const config = {
description:
"Demonstrates how annotations can be used to provide metadata about content.",
inputSchema: GetAnnotatedMessageSchema,
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};

/**
Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/get-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const config = {
description:
"Returns all environment variables, helpful for debugging MCP server configuration",
inputSchema: {},
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};

/**
Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/get-structured-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const config = {
description:
"Returns structured content along with an output schema for client data validation",
inputSchema: GetStructuredContentInputSchema,
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
outputSchema: GetStructuredContentOutputSchema,
};

Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/get-sum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ const config = {
title: "Get Sum Tool",
description: "Returns the sum of two numbers",
inputSchema: GetSumSchema,
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};

/**
Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/get-tiny-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const config = {
title: "Get Tiny Image Tool",
description: "Returns a tiny MCP logo image.",
inputSchema: {},
annotations: {
readOnlyHint: true,
destructiveHint: false,
idempotentHint: true,
},
};

/**
Expand Down
5 changes: 5 additions & 0 deletions src/everything/tools/toggle-simulated-logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const config = {
title: "Toggle Simulated Logging",
description: "Toggles simulated, random-leveled logging on or off.",
inputSchema: {},
annotations: {
readOnlyHint: false,
destructiveHint: false,
idempotentHint: false,
},
};

// Track enabled clients by session id
Expand Down