Skip to main content
Glama

Submit Direct Receipt

submit_direct_receipt
Idempotent

Execute the canonical Direct Session submit_direct_receipt operation. Requires an Authorization: Bearer header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signatureYesCanonical signature argument for the submit_direct_receipt Direct Session operation.
session_idYesCanonical session id argument for the submit_direct_receipt Direct Session operation.
signer_roleYesCanonical signer role argument for the submit_direct_receipt Direct Session operation.
signing_key_idYesCanonical signing key id argument for the submit_direct_receipt Direct Session operation.
idempotency_keyYesRequired mutation idempotency key, shared across REST, MCP, and A2A.
canonical_claimsYesCanonical canonical claims argument for the submit_direct_receipt Direct Session operation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream exchange call succeeded (HTTP status < 400).
dataYesCanonical submit_direct_receipt result. Null when ok is false.
errorYesIn-band error code or message when ok is false; null on success.
statusYesUpstream HTTP status code returned by the Conductor Relay API.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed5 schema fields changed
    • addedInput schema / properties / canonical_claims / description
      Added value: +"Canonical canonical claims argument for the submit_direct_receipt Direct Session operation."
    • addedInput schema / properties / session_id / description
      Added value: +"Canonical session id argument for the submit_direct_receipt Direct Session operation."
    • addedInput schema / properties / signature / description
      Added value: +"Canonical signature argument for the submit_direct_receipt Direct Session operation."
    • addedInput schema / properties / signer_role / description
      Added value: +"Canonical signer role argument for the submit_direct_receipt Direct Session operation."
    • addedInput schema / properties / signing_key_id / description
      Added value: +"Canonical signing key id argument for the submit_direct_receipt Direct Session operation."
  2. Added

TDQS

C2.2/5.0
Behavior3/5

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

Annotations already indicate this is a read-write, non-destructive, idempotent operation. The description adds the requirement for an Authorization: Bearer header, which is a concrete behavioral precondition not captured in annotations. However, it does not disclose what state changes occur, what happens to the session, or any side effects, so the added transparency is minimal.

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

Conciseness2/5

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

The description is a single sentence with no unnecessary filler, but it is under-specified. The core statement is tautological and does not convey useful information, so it would have been better to provide substantive details. Brevity without content is not effective conciseness.

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

Completeness2/5

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

For a tool with six required parameters, an output schema, and nested objects, the description is far too sparse. It lacks any explanation of the domain concept (direct receipt), the expected workflow (e.g., after opening a session), or the meaning of the parameters. The agent is left without enough context to correctly select and invoke this operation.

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

Parameters2/5

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

The description provides no information about parameters. Although the input schema has a description for every parameter, each description merely repeats the parameter name (e.g., 'Canonical signature argument for the submit_direct_receipt Direct Session operation'), offering no real semantic value. Parameters like canonical_claims remain opaque objects, and the agent gains no insight into expected structure or purpose beyond the names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Execute the canonical Direct Session submit_direct_receipt operation,' which essentially restates the tool name without explaining what submitting a direct receipt accomplishes or what a direct receipt is. It does not distinguish this from sibling operations such as open_direct_session or send_direct_message. The verb 'execute' is generic and the resource is the operation itself, making this a tautology.

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?

No guidance is given about when to use this tool versus alternatives like close_direct_session or submit_job_result. The only additional note is the Authorization header requirement, which is a prerequisite rather than usage context. The description does not explain the workflow position or conditions under which this operation should be invoked.

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.