Skip to main content
Glama

Pinpal Jobs

Create a document

create_document

A new draft under a client: the type, a title, the priced lines, the Markdown body (the scope, the clauses; you write it, in the person's words), optional tax lines, currency, dates and labels. Starts from the settings' currency, tax lines and footer; a quote gets a valid-until date and an invoice a due date from the settings' days. Counts toward the free documents.

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": {
      "client": "<client>",
      "type": "<type>",
      "title": "<title>"
    },
    "name": "create_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoMarkdown.
typeYesquote, contract or invoice.
linesNoThe priced lines. The server computes the amounts, the subtotal, the tax and the total.
titleYes
clientYesThe client's id, or its exact name.
footerNoPrinted under the lines: terms, how to pay. Default: the settings' footer.
labelsNoLabel names (or ids) that already exist in the account. Unknown names are refused; see list_labels.
dueDateNoDue (invoice) or valid until (quote).
currencyNo
taxLinesNoTax lines on the subtotal. Omit to use the settings' default; [] for none.
issueDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only cover the read-only/destructive/open-world profile, and the description adds genuinely new behaviour: the document is seeded from settings (currency, tax lines, footer), a quote gets a valid-until date and an invoice a due date derived from settings' days, and the creation consumes the free document quota. It does not mention permissions or what the response contains, but the defaulting logic it discloses is the high-value part.

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

Conciseness3/5

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

It is dense and mostly free of filler, but it is a single run-on fragment with no leading verb, and the field list (type, title, lines, body, tax lines, currency, dates, labels) largely recaps the schema. The quota note is buried at the end where it reads as an afterthought.

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

Completeness3/5

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

For an 11-parameter mutation with no output schema, the description covers defaults and date derivation well but says nothing about what is returned (document id, status, computed totals) or what happens on a rejected label or unknown client. An agent could call it, but would be guessing about the result and about failure modes.

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

Parameters4/5

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

At 73% schema coverage the baseline would be 3, but the description adds meaning the schema lacks: the body is authored Markdown ('the scope, the clauses; you write it, in the person's words') and date/settings interplay explains how dueDate defaults. It still doesn't clarify the client id-vs-name choice, currency format, or label refusal behaviour beyond what the schema already states.

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 names the resource and its scope precisely ('A new draft under a client') and enumerates the content it carries (type, title, priced lines, Markdown body, tax lines, currency, dates, labels), which is enough to tell it apart from read_document, send_document and update_document by implication. It never uses an explicit verb ('creates'), relying on the title for that, so it stops short of ideal front-loading.

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?

There is no explicit when-to-use or when-not guidance, and none of the obvious neighbours (copy_document, update_document, new_version) are named as alternatives for a related need. Usage is only inferable from the phrase 'A new draft under a client'; the side note about counting toward free documents is a constraint, not routing guidance.

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.

Resources