Skip to main content
Glama

quick_capture

Capture notes, links, and tasks with optional scheduling for future resurfacing in the Resurgo-MCP knowledge management system.

Instructions

Save a new node with optional scheduling

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes

Implementation Reference

  • The handler function for the 'quick_capture' MCP tool. It calls the API client to perform the capture and formats the response as MCP content, handling errors appropriately.
      async ({ state }) => {
        const result = await apiClient.quickCapture(state);
    
        if (result.error) {
          return {
            content: [{ type: 'text', text: result.error }],
            isError: true,
          };
        }
    
        return {
          content: [
            {
              type: 'text',
              text: JSON.stringify(result.data, null, 2),
            },
          ],
        };
      },
    );
  • Zod schema defining the input parameters for the quick_capture tool: title (required), note, url, tags, resurfaceIn (optional).
    state: z.object({
      title: z.string().describe('The title of the node'),
      note: z.string().optional().describe('Optional notes or body content'),
      url: z.string().url().optional().describe('Optional URL to attach'),
      tags: z
        .array(z.string())
        .optional()
        .default([])
        .describe('Tags for categorization'),
      resurfaceIn: z
        .string()
        .optional()
        .describe(
          'When to resurface: "tomorrow", "1 week", "2025-01-15", etc.',
        ),
    }),
  • src/nodes.ts:91-94 (registration)
    Registration of the 'quick_capture' tool on the MCP server within registerNodesTools.
    server.tool(
      'quick_capture',
      'Save a new node with optional scheduling',
      {
  • Helper method in the API client that sends the quick capture request to the backend /mcp/quick-capture endpoint.
    async quickCapture(params: {
      title: string;
      note?: string;
      url?: string;
      tags?: string[];
      resurfaceIn?: string;
    }): Promise<ApiResponse<any>> {
      return this.request('/mcp/quick-capture', {
        method: 'POST',
        body: JSON.stringify(params),
      });
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. 'Save a new node' implies a write operation, but it doesn't mention permissions required, whether this creates permanent records, error conditions, or what happens on success. The 'optional scheduling' hint is minimal behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that immediately conveys the core functionality. Every word earns its place: 'Save' (action), 'new node' (resource), 'optional scheduling' (key feature). No wasted words or unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write operation tool with no annotations and no output schema, the description is insufficient. It doesn't explain what 'saving' entails (persistence level, where saved), what the optional scheduling does, or what happens after invocation. The agent lacks crucial context for proper tool selection and use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, but the single parameter 'state' is a nested object with well-described sub-properties (title, note, url, tags, resurfaceIn). The description mentions 'optional scheduling' which aligns with 'resurfaceIn', adding some semantic context beyond the schema's technical descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Save a new node') and the resource ('node'), with the additional feature of 'optional scheduling' distinguishing it from basic creation tools. However, it doesn't explicitly differentiate from sibling tools like 'complete_node' or 'snooze_node' which also manipulate nodes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'complete_node' or 'snooze_node'. It mentions 'optional scheduling' but doesn't clarify when scheduling is appropriate versus other node operations, leaving the agent to guess based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/code-atlantic/Resurgo-MCP'

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