Skip to main content
Glama

ERP: Submit report

erp_submit_report

File a report against an assignment: how much of what, on which date. The kind comes from erp_list_report_types and carries its own unit — pass the number only, not the unit. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "assignment_id": "<assignment_id>",
      "report_type_id": "<report_type_id>",
      "value": "<value>"
    },
    "name": "erp_submit_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes
commentNo
report_dateNo
assignment_idYes
report_type_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The annotations only say it is a non-read-only, non-destructive, closed-world write. The description adds the behavior an agent cannot infer from that: the call is proposed rather than executed, returns status='confirmation_required' with an action_id and plan_token, and persists nothing until confirm_action runs. This is exactly the kind of beyond-annotation disclosure the dimension rewards.

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?

Roughly 60 words across three sentences: purpose first, parameter hint second, confirmation contract third, in the order an agent needs them. The confirmation sentence slightly restates itself ("never performed directly" then "write happens only after confirm_action"), and the uppercase emphasis is heavy-handed, but nothing is wasted.

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?

With no output schema, the description does the useful work of describing the response shape (status, action_id, plan_token) and the real-world write occurring only after confirmation. Remaining gaps — accepted date format, what a comment is for, and what the unit-bearing value counts — are modest for a five-parameter tool but not fully closed.

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?

Schema description coverage is 0%, so the description carries the burden and does much of it: report_type_id is sourced from erp_list_report_types, value must be a bare number because the unit is owned by the report type, and report_date is the date the report applies to. The comment parameter is never mentioned and no date format is given, leaving a residual gap.

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?

"File a report against an assignment: how much of what, on which date" names a concrete verb (file), the resource (report), and the anchor entity (assignment), plus the three required inputs in plain language. It also implicitly distinguishes itself from erp_create_report_type and the hr_* report tools, which produce or define reports rather than file them against an assignment.

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?

It gives an explicit prerequisite chain: the report kind must come from erp_list_report_types, and the write is only finalized via confirm_action. That routes the agent to the correct sibling tools before and after the call. It stops short of stating when not to use this tool (e.g. when the report kind is unknown or the assignment is archived), so it is not a full when/when-not treatment.

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