Skip to main content
Glama

submit_story

Submit a war story for safe storage. Validates schema and scrubs sensitive identifiers; rejected with findings if any detected.

Instructions

Submit a war story. Validated against the AgentPier schema and run through the safety gate on ingest. Rejected with findings if any sensitive data is detected (account IDs, IPs, ARNs, secrets, denylist buckets, PII). Returns the story id on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storyYesWar story object. Required fields: id (UUID v4), title, situation, goal, what_i_tried (list), what_failed (list), what_worked, lesson (max 280 chars), tags (list, must include at least one of: memory|reflection|planning|action|system), narrator_id, timestamp (ISO 8601), trust.confidence (0–1).
Behavior3/5

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

With no annotations, the description discloses validation, safety gate, rejection findings, and success output (story id). However, it omits details on idempotency, error responses, or side effects beyond mutation.

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 sentences, front-loaded with purpose, no unnecessary words. Every sentence provides essential information.

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

Completeness4/5

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

Given no output schema, the description adequately specifies the return value (story id). It covers validation and rejection, but could mention possible error formats or success status.

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?

Schema coverage is 100% with a detailed nested object description. The description adds context about validation and safety, but does not provide additional parameter-specific meaning beyond the schema.

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

Purpose5/5

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

The description clearly states the tool's action ('Submit a war story'), specifies the validation schema, and distinguishes it from sibling read tools (get_story, search_stories).

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

Usage Guidelines4/5

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

The description indicates when to use the tool (submission), and mentions rejection behavior for sensitive data, but does not explicitly state when not to use or provide alternatives beyond sibling context.

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/gatewaybuddy/agentpier'

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