Skip to main content
Glama

AgentBin

Create doc

create_doc

Store a new doc. Returns its id. Use it to keep something for a later session: a note, a decision, a finding, a draft.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "create_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe doc's content, as Markdown or any text.
titleNoA short title, up to 200 characters.
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the mutation and safety profile (readOnly=false, destructive=false, idempotent=false). The description adds that the call returns the new id, which matters because no output schema exists. It does not warn that repeat calls create duplicates despite idempotentHint=false, nor mention any auth requirement beyond what the schema says.

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?

Three short sentences: operation, return value, then usage. The most important information (what it does and what it gives back) comes first, with no filler.

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?

For a simple three-parameter create tool, the description covers the action, the return value, and the intended purpose, and annotations carry the safety traits. The only meaningful gap is the non-idempotent duplicate-on-retry behavior, which an agent would have to infer from the annotation.

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 description coverage is 100%, so parameter meaning is already fully documented in the schema. The description adds no format, length, or content constraints beyond it, which is the baseline for a fully covered schema.

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?

"Store a new doc" states a specific verb and resource, and "Returns its id" adds the result. It does not explicitly separate itself from append_doc or replace_doc, which are the nearest siblings, so the distinction is left implicit.

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?

"Use it to keep something for a later session: a note, a decision, a finding, a draft" gives a clear positive context with concrete examples. No exclusion or comparison against append_doc/replace_doc, so an agent choosing between drafting new content versus appending to existing content gets no routing help.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.