Skip to main content
Glama

Pinpal Receipts

Set the source on lines

set_source

Set where the receipt is found on one or several lines at once, by ID (lines, from any months) or by month and numbers, or clear it with none (or null). Each line's thread says so. Set by hand, so a carry-over or a rule never changes it afterwards. Answers how many changed and the lines as they are now.

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": {
      "source": "<source>"
    },
    "name": "set_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoThe lines' IDs, like ["#1042", "#1043"], from any months: instead of month and numbers.
monthNoThe month as YYYY-MM, with numbers; or give lines as IDs instead.
sourceYes
numbersNoThe lines' numbers in the month.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a non-destructive, non-open-world mutation, so the bar is lower, but the description adds real behavior: the value is set manually and will not be overwritten by rules or carry-over, and clearing with none/null is a valid outcome. It also compensates for the absent output schema by describing the response ('how many changed and the lines as they are now'). The claim 'each line's thread says so' is too vague to count as further transparency.

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

Conciseness4/5

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

Three tight sentences with the core action front-loaded and no filler. The fragment 'Each line's thread says so' costs a little clarity for its brevity, but overall the description is well-sized for a four-parameter mutation.

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 mutation tool with annotations covering safety and no output schema, the description supplies the key missing pieces: the two addressing modes, the clear-with-null path, persistence against rules, and the shape of the response. It does not mention what happens on invalid IDs or whether the operation is atomic across up to 500 lines, which is a minor residual gap.

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 75% and the schema already documents lines, month, numbers, and the source anyOf/clear semantics. The description restates the same routing (IDs vs month+numbers, none/null clears) without adding format, limits (the 500-item cap), or exclusivity rules beyond what the schema says, so baseline 3 applies.

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?

States a specific verb and resource: set the source on one or several lines, by ID or by month+numbers, or clear it. The resource ('source') is distinct from siblings like label_lines or set_status, though the description never names or contrasts those siblings, so the differentiation relies on the agent already knowing what a 'source' is.

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?

Gives concrete usage context: supply line IDs from any month, or month+numbers, or pass none/null to clear. It also explains the manual-pin behavior ('a carry-over or a rule never changes it afterwards'), which is genuine when-to-use guidance. However, it never states when to use this versus set_status, label_lines, or update_source, and does not spell out that the ID path and the month+numbers path are mutually exclusive.

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