Skip to main content
Glama

get_view

Retrieve a specific view by its ID from Dart MCP Server to access detailed information, including title, description, and associated tasks.

Instructions

Retrieve an existing view by its ID. Returns the view's information including title, description, and all tasks within it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe 12-character alphanumeric ID of the view

Implementation Reference

  • Handler for the 'get_view' tool: validates the 12-character ID argument and fetches the view data using ViewService.getView(id), then returns it as JSON string.
    case GET_VIEW_TOOL.name: { const id = getIdValidated(args.id); const view = await ViewService.getView(id); return { content: [{ type: "text", text: JSON.stringify(view, null, 2) }], }; }
  • Schema definition for the 'get_view' tool, specifying the name, description, and input schema that requires a single 'id' property matching the 12-character alphanumeric pattern.
    export const GET_VIEW_TOOL: Tool = { name: "get_view", description: "Retrieve an existing view by its ID. Returns the view's information including title, description, and all tasks within it.", inputSchema: { type: "object", properties: { id: { type: "string", description: "The 12-character alphanumeric ID of the view", pattern: "^[a-zA-Z0-9]{12}$", }, }, required: ["id"], }, };
  • index.ts:192-214 (registration)
    Registration of the 'get_view' tool (as GET_VIEW_TOOL) in the TOOLS array, which is served via ListToolsRequestSchema to make the tool available to the MCP client.
    const TOOLS = [ // Config GET_CONFIG_TOOL, // Tasks CREATE_TASK_TOOL, LIST_TASKS_TOOL, GET_TASK_TOOL, UPDATE_TASK_TOOL, DELETE_TASK_TOOL, // Docs CREATE_DOC_TOOL, LIST_DOCS_TOOL, GET_DOC_TOOL, UPDATE_DOC_TOOL, DELETE_DOC_TOOL, // Comments ADD_TASK_COMMENT_TOOL, LIST_TASK_COMMENTS_TOOL, // Other GET_DARTBOARD_TOOL, GET_FOLDER_TOOL, GET_VIEW_TOOL, ];
  • index.ts:371-373 (registration)
    Server request handler for listing tools, returning the TOOLS array that includes 'get_view'.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS, }));

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/its-dart/dart-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server