submit_documents
Generate a presigned upload URL and create document metadata for an application in SecureLend storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Generate a presigned upload URL and create document metadata for an application in SecureLend storage.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Input schema / $schemaRemoved value: -"http://json-schema.org/draft-07/schema#"Input schema / additionalPropertiesAdded value: +trueInput schema / propertiesRemoved value: -{
- "applicationId": {
- "description": "The ID of the application to associate the document with.",
- "type": "string"
- },
- "documentType": {
- "description": "The category of the document.",
- "enum": [
- "articles-of-incorporation",
- "balance-sheet",
- "bank-statement",
- "business-license",
- "business-plan",
- "contract",
- "drivers-license",
- "financial-statement",
- "identity-document",
- "invoice",
- "lease-agreement",
- "other-business-document",
- "other-personal-document",
- "passport",
- "profit-and-loss-statement",
- "proof-of-address",
- "proof-of-income",
- "property-document",
- "purchase-order",
- "tax-return",
- "utility-bill",
- "vehicle-document",
- "voided-check"
- ],
- "type": "string"
- },
- "fileName": {
- "description": "The original name of the file.",
- "type": "string"
- }
-}Input schema / requiredRemoved value: -[
- "applicationId",
- "fileName",
- "documentType"
-]Output schema / (root)Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "documentId": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "success": {
- "type": "boolean"
- },
- "uploadFields": {
- "additionalProperties": {
- "type": "string"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "uploadUrl": {
- "type": "string"
- }
- },
- "required": [
- "success",
- "message"
- ],
- "type": "object"
-}New value: +nullDoes the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description carries the full burden of disclosing side effects and behavior. It mentions generating a presigned URL and creating metadata, implying a write/upload flow, but it does not state whether the actual file upload is part of this call, what happens on failure, what permissions are required, or what response is returned.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no filler. The two key actions are front-loaded and immediately readable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with no annotations, no output schema, and an unconstrained input schema, this one-sentence description is insufficient. An agent cannot determine required inputs, response shape, upload mechanics, or error behavior from the provided definition.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema declares no named parameters and allows arbitrary additional properties, making the description the only source of invocation guidance. It does not specify an application ID, file names, metadata keys, or any required arguments, so an agent cannot construct a correct call from the definition alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names concrete operations ('generate a presigned upload URL', 'create document metadata') and a resource scope ('an application in SecureLend storage'). This is specific enough to separate the backend submission action from the sibling display_upload_documents_form, though it does not explicitly name any sibling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to invoke this tool or when to prefer alternatives such as display_upload_documents_form or track_offer_status. There are no preconditions, ordering notes, or exclusions, so an agent must infer usage entirely from the name and one-line description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.