Skip to main content
Glama
mcp-efile-mock

mcp-efile-mock

by b33-steve

Get acknowledgement

get_acknowledgement
Read-onlyIdempotent

Fetch a mock e-file submission result by submission ID to check whether it is Processing, Accepted, or Rejected and review any error codes; request XML for the illustrative acknowledgement shape.

Instructions

Fetch the mock result for a submission ID from mock_submit_return. kind is 'StatusRecord' while status is Processing (not proof of acceptance) and 'Acknowledgement' once status is Accepted or Rejected; rejected results list errors with codes and basis. Use format 'xml' for the illustrative acknowledgement XML shape. In this mock the result is normally final on the first call; a Processing status appears only if the server is configured with polling delays, in which case repeat the call.

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": {
      "submissionId": "<submissionId>"
    },
    "name": "get_acknowledgement"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson (default) or xml for the illustrative acknowledgement XMLjson
submissionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, yet the description adds real value beyond them: the result is normally final on the first call, Processing appears only under configured polling delays, and 'StatusRecord' is not proof of acceptance. It does not describe payload size or failure modes such as an unknown submission ID.

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 sentences, front-loaded with the core action, then the kind semantics and polling caveat. Dense but each clause carries information; the kind explanation is slightly long but earns its place by defining the return discrimination.

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 takes on return-value explanation and does so: kind values by status, rejected results listing errors with codes and basis, and the XML option. It leaves the full acknowledgement payload structure unstated, but that is acceptable for a mock.

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 coverage is 50%; submissionId has no description in the schema, and the description supplies its provenance (an ID previously returned by mock_submit_return). The format parameter guidance largely restates the schema's own enum description, so the value added is concentrated on the undocumented parameter.

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 ("Fetch the mock result for a submission ID") and names its data source, mock_submit_return, which distinguishes it from build_return_xml and validate_return. It does not explicitly contrast with those siblings, so it stops short of a 5.

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?

Gives clear situational guidance: use format 'xml' when the illustrative acknowledgement XML shape is wanted, and repeat the call only when status is Processing due to configured polling delays. It lacks an explicit statement of when NOT to use this tool versus mock_submit_return or validate_return.

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