Skip to main content
Glama

polarity_dump

Record a place-anchored thought by writing a short message tied to a location waypoint into your personal knowledge graph.

Instructions

Write a short message tied to a location waypoint into the user's graph. PolarityGPS-style. Use only when the user is explicitly recording a place-anchored thought.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waypoint_idYes
nameYes
latNo
lonNo
messageYes

Implementation Reference

  • The dump() method on CosmosClient sends a POST to /api/polarity/dump with waypoint_id, name, lat, lon, and message to record a location-anchored thought.
    dump(input: { waypoint_id: string; name: string; lat?: number; lon?: number; message: string }) {
      return this.request<DumpResponse>({
        method: "POST",
        path: "/api/polarity/dump",
        body: { polarity_user_id: this.config.polarityUserId, ...input },
      });
    }
  • The DumpResponse interface defining the shape returned by the dump API: cosmos_user_id, location_node_id, message_node_id, edge_id.
    export interface DumpResponse {
      cosmos_user_id: number;
      location_node_id: number;
      message_node_id: number;
      edge_id: number;
    }
  • The tool definition registration for polarity_dump in the TOOLS array, with name, description, inputSchema (Zod validation for waypoint_id, name, lat, lon, message), and handler that calls client.dump().
    {
      name: "polarity_dump",
      description:
        "Write a short message tied to a location waypoint into the user's graph. PolarityGPS-style. Use only when the user is explicitly recording a place-anchored thought.",
      inputSchema: z
        .object({
          waypoint_id: z.string().min(1).max(128),
          name: z.string().min(1).max(128),
          lat: z.number().optional(),
          lon: z.number().optional(),
          message: z.string().min(1).max(500),
        })
        .strict(),
      handler: async (input, client) => client.dump(input as Parameters<CosmosClient["dump"]>[0]),
    },
Behavior2/5

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

No annotations provided; description does not disclose behavioral traits like destructive nature, authentication needs, or side effects. Bare minimum purpose stated, leaving significant gaps for a write operation.

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?

Two concise sentences: first defines action, second provides usage hint. No wasted words, front-loaded purpose.

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?

Though simple, the tool has 5 parameters and no annotations or output schema. Description only covers purpose and usage, missing parameter semantics, return value, and behavioral details, leaving the agent underinformed.

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

Parameters1/5

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

Description provides zero parameter-level detail. Schema description coverage is 0%, and the description fails to explain what waypoint_id, name, lat, lon, or message mean, forcing the agent to guess.

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?

Description clearly states it writes a short message tied to a location waypoint, using 'polarityGPS-style' and specifying it's for place-anchored thoughts. This distinguishes it from siblings like polarity_checkin, but could be more explicit about uniqueness.

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

Usage Guidelines3/5

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

Provides a usage condition ('only when the user is explicitly recording a place-anchored thought') but lacks explicit when-not-to-use or alternative tools. Implies context but no exclusions.

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/teampolarity/cosmos-mcp'

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