Skip to main content
Glama

Analyze invention

analyze_invention

List the invention's key elements, alternatives and open gaps from an intake so the user can confirm them before search or drafting. Needs an API key. Returns drafts only, not legal advice. Results must be reviewed by a registered patent attorney or patent agent.

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": {
      "intake": "<intake>"
    },
    "name": "analyze_invention"
  }
}

Input Schema

NameRequiredDescriptionDefault
intakeYesInvention intake (JSON): {offer:"search|draft|bundle", CORE:{problem, solution, how_it_works, alternatives, known_art, advantages, key_elements:[{id:"E1",text,required}], inventors:[], figures:[]}, SEARCH:{keywords:[]}, date_alerts:[], open_gaps:[]}. Full schema: get_intake_schema. Check with validate_intake first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / properties / intake / $comment
      Removed value: -"DRAFT — not legal advice. For internal planning; requires review by a licensed patent attorney before reliance or use."
    • removedInput schema / properties / intake / additionalProperties
      Removed value: -false
    • removedInput schema / properties / intake / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "properties": {
      -        "offer": {
      -          "enum": [
      -            "search",
      -            "bundle"
      -          ]
      -        }
      -      }
      -    },
      -    "then": {
      -      "required": [
      -        "SEARCH"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "offer": {
      -          "enum": [
      -            "draft",
      -            "bundle"
      -          ]
      -        }
      -      }
      -    },
      -    "then": {
      -      "required": [
      -        "DRAFTING"
      -      ]
      -    }
      -  }
      -]
    • addedInput schema / properties / intake / description
      Added value: +"Invention intake (JSON): {offer:\"search|draft|bundle\", CORE:{problem, solution, how_it_works, alternatives, known_art, advantages, key_elements:[{id:\"E1\",text,required}], inventors:[], figures:[]}, SEARCH:{keywords:[]}, date_alerts:[], open_gaps:[]}. Full schema: get_intake_schema. Check with validate_intake first."
    • removedInput schema / properties / intake / properties
      Removed value: -{
      -  "CORE": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "advantages": {
      -        "description": "What makes it better. Include numbers if you have them.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "alternatives": {
      -        "description": "Other ways to build or use it.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "figures": {
      -        "description": "Optional. Upload formal or informal drawings, sketches or photographs.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "asset_id": {
      -              "description": "ID of an uploaded sketch or photo, if any.",
      -              "maxLength": 128,
      -              "minLength": 1,
      -              "pattern": "^[A-Za-z0-9_-]+$",
      -              "type": "string"
      -            },
      -            "caption": {
      -              "description": "What the drawing shows, or a view you would like drawn.",
      -              "maxLength": 20000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "caption"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "first_disclosure": {
      -        "additionalProperties": false,
      -        "description": "Optional. Any public showing of the invention.",
      -        "properties": {
      -          "date": {
      -            "description": "The date, if known.",
      -            "format": "date",
      -            "maxLength": 20000,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "details": {
      -            "description": "Where and how it happened.",
      -            "maxLength": 20000,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "status": {
      -            "description": "Whether it happened: none, known or unknown.",
      -            "enum": [
      -              "none",
      -              "known",
      -              "unknown"
      -            ],
      -            "maxLength": 20000,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "date",
      -          "details"
      -        ],
      -        "type": "object"
      -      },
      -      "how_it_works": {
      -        "description": "How it works, step by step.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "inventors": {
      -        "description": "Add inventor name and residence.",
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": false,
      -              "description": "An inventor's full name and residence, as needed for a provisional cover sheet.",
      -              "else": {
      -                "if": {
      -                  "properties": {
      -                    "country": {
      -                      "pattern": "^\\s*([Uu][Nn][Ii][Tt][Ee][Dd] [Ss][Tt][Aa][Tt][Ee][Ss]( [Oo][Ff] [Aa][Mm][Ee][Rr][Ii][Cc][Aa])?|[Uu]\\.?[Ss]\\.?([Aa]\\.?)?)\\s*$"
      -                    }
      -                  }
      -                },
      -                "then": {
      -                  "properties": {
      -                    "state": {
      -                      "minLength": 1
      -                    }
      -                  },
      -                  "required": [
      -                    "state"
      -                  ]
      -                }
      -              },
      -              "if": {
      -                "properties": {
      -                  "country": {
      -                    "not": {
      -                      "pattern": "\\S"
      -                    }
      -                  }
      -                }
      -              },
      -              "properties": {
      -                "city": {
      -                  "description": "City of residence.",
      -                  "maxLength": 200,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "country": {
      -                  "description": "Country of residence. Leave blank for the United States.",
      -                  "maxLength": 100,
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "description": "Full legal name.",
      -                  "maxLength": 200,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "state": {
      -                  "description": "State of residence (US).",
      -                  "maxLength": 100,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "name",
      -                "city"
      -              ],
      -              "then": {
      -                "properties": {
      -                  "state": {
      -                    "minLength": 1
      -                  }
      -                },
      -                "required": [
      -                  "state"
      -                ]
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "description": "Name only (older orders).",
      -              "maxLength": 20000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          ]
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "key_elements": {
      -        "description": "The essential parts or steps.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "id": {
      -              "description": "Short ID for the part, like E1.",
      -              "maxLength": 20000,
      -              "pattern": "^E[1-9][0-9]*$",
      -              "type": "string"
      -            },
      -            "required": {
      -              "description": "Check if it can’t work without this part.",
      -              "type": "boolean"
      -            },
      -            "text": {
      -              "description": "The part, step or ingredient.",
      -              "maxLength": 20000,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "text",
      -            "required"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "known_art": {
      -        "description": "Products, papers or patents you already know about. “None” is fine.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "problem": {
      -        "description": "The problem it solves and who has it.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "sale_dates": {
      -        "additionalProperties": false,
      -        "description": "Optional. Any sale or offer for sale.",
      -        "properties": {
      -          "date": {
      -            "description": "The date, if known.",
      -            "format": "date",
      -            "maxLength": 20000,
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "details": {
      -            "description": "Where and how it happened.",
      -            "maxLength": 20000,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "status": {
      -            "description": "Whether it happened: none, known or unknown.",
      -            "enum": [
      -              "none",
      -              "known",
      -              "unknown"
      -            ],
      -            "maxLength": 20000,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "status",
      -          "date",
      -          "details"
      -        ],
      -        "type": "object"
      -      },
      -      "solution": {
      -        "description": "Your solution in a sentence or two.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "problem",
      -      "solution",
      -      "how_it_works",
      -      "alternatives",
      -      "known_art",
      -      "advantages",
      -      "key_elements",
      -      "inventors",
      -      "figures"
      -    ],
      -    "type": "object"
      -  },
      -  "DRAFTING": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "best_mode": {
      -        "description": "The version you think works best.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "embodiments": {
      -        "description": "Other versions it could come in.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "parameters": {
      -        "description": "Materials, settings or conditions.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "ranges": {
      -        "description": "Sizes, amounts or ranges that matter.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "style_guide": {
      -        "description": "Confidential style data; never logged. USPTO rules take precedence.",
      -        "maxLength": 20000,
      -        "type": "string"
      -      },
      -      "style_guide_name": {
      -        "description": "Confidential style data; never logged. USPTO rules take precedence.",
      -        "maxLength": 20000,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "embodiments",
      -      "ranges",
      -      "parameters",
      -      "best_mode"
      -    ],
      -    "type": "object"
      -  },
      -  "SEARCH": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "closest_products": {
      -        "description": "Similar products you know about, if any.",
      -        "items": {
      -          "description": "Closest product/company and optional user-supplied link; data only.",
      -          "maxLength": 20000,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      },
      -      "field": {
      -        "description": "The technical field.",
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "keywords": {
      -        "description": "Words people use to describe it.",
      -        "items": {
      -          "description": "Technical term, synonym or slang.",
      -          "maxLength": 20000,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 100,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "closest_products",
      -      "keywords",
      -      "field"
      -    ],
      -    "type": "object"
      -  },
      -  "date_alerts": {
      -    "description": "Server-derived flags, never trusted from caller.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "as_of": {
      -          "description": "Date used for triage.",
      -          "format": "date",
      -          "maxLength": 20000,
      -          "type": "string"
      -        },
      -        "attorney_review_required": {
      -          "const": true
      -        },
      -        "event": {
      -          "description": "Event being flagged.",
      -          "enum": [
      -            "first_disclosure",
      -            "sale_dates"
      -          ],
      -          "maxLength": 20000,
      -          "type": "string"
      -        },
      -        "flag": {
      -          "description": "Triage only; no legal deadline calculation.",
      -          "enum": [
      -            "within_12_months",
      -            "over_12_months",
      -            "unknown_date",
      -            "future_date",
      -            "boundary_review"
      -          ],
      -          "maxLength": 20000,
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "approved_by_jeff_2026-11-17 — urgent practitioner review; never advise a filing deadline.",
      -          "maxLength": 20000,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "event",
      -        "flag",
      -        "as_of",
      -        "attorney_review_required",
      -        "message"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  },
      -  "offer": {
      -    "description": "Select which question groups apply.",
      -    "enum": [
      -      "core",
      -      "search",
      -      "draft",
      -      "bundle"
      -    ],
      -    "maxLength": 20000,
      -    "type": "string"
      -  },
      -  "open_gaps": {
      -    "description": "Unknown facts and adaptive follow-ups; never fill by inference.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "blocking": {
      -          "description": "Whether selected operation requires this answer.",
      -          "type": "boolean"
      -        },
      -        "field": {
      -          "description": "JSON Pointer to missing or vague fact.",
      -          "maxLength": 20000,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "question": {
      -          "description": "One factual follow-up question.",
      -          "maxLength": 20000,
      -          "minLength": 1,
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "field",
      -        "question",
      -        "blocking"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -}
    • removedInput schema / properties / intake / required
      Removed value: -[
      -  "offer",
      -  "CORE",
      -  "date_alerts",
      -  "open_gaps"
      -]
    • removedInput schema / properties / intake / title
      Removed value: -"Build Your Patent Application"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "disclaimer": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "citations_verified": {
      -          "description": "True only if all emitted citations verified; null when none.",
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "legal_review_status": {
      -          "const": "approved_by_jeff_2026-11-17"
      -        },
      -        "search_coverage": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "data_through": {
      -              "description": "Known dataset cutoff or null.",
      -              "format": "date",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "limitations": {
      -              "description": "Include unavailable unpublished material and NPL gaps.",
      -              "items": {
      -                "description": "Coverage gap or failed source.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "sources": {
      -              "description": "No assumed source coverage.",
      -              "items": {
      -                "description": "Actually queried source identifier.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "sources",
      -            "data_through",
      -            "limitations"
      -          ],
      -          "type": "object"
      -        },
      -        "text": {
      -          "description": "approved_by_jeff_2026-11-17 — draft only, no legal advice or relationship; practitioner review; search limits.",
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "type": {
      -          "const": "draft_not_legal_advice"
      -        },
      -        "version": {
      -          "const": "disclaimer-v3-2026-11-17"
      -        }
      -      },
      -      "required": [
      -        "type",
      -        "text",
      -        "version",
      -        "legal_review_status",
      -        "citations_verified",
      -        "search_coverage"
      -      ],
      -      "type": "object"
      -    },
      -    "draft": {
      -      "const": true
      -    },
      -    "notLegalAdvice": {
      -      "const": true
      -    },
      -    "result": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "analysis_questions": {
      -          "description": "Invention-analysis questions for the entered invention.",
      -          "items": {
      -            "description": "Follow-up question to separate essential features from implementation detail.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "elements": {
      -          "description": "Elements, with unique IDs enforced by service.",
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "id": {
      -                "description": "Stable element identifier; never renumber referenced elements.",
      -                "pattern": "^E[1-9][0-9]*$",
      -                "type": "string"
      -              },
      -              "required": {
      -                "description": "True only when user says essential.",
      -                "type": "boolean"
      -              },
      -              "text": {
      -                "description": "Concrete part, step or ingredient.",
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "text",
      -              "required"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "fallback_hierarchy": {
      -          "description": "Fallback options.",
      -          "items": {
      -            "description": "Alternative implementation tied to element ID.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "open_gaps": {
      -          "description": "Unknown facts and adaptive follow-ups; never fill by inference.",
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "blocking": {
      -                "description": "Whether selected operation requires this answer.",
      -                "type": "boolean"
      -              },
      -              "field": {
      -                "description": "JSON Pointer to missing or vague fact.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "question": {
      -                "description": "One factual follow-up question.",
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "field",
      -              "question",
      -              "blocking"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "elements",
      -        "fallback_hierarchy",
      -        "open_gaps",
      -        "analysis_questions"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "result",
      -    "disclaimer",
      -    "draft",
      -    "notLegalAdvice"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Adds real context beyond the annotations: an API key is required, output is 'drafts only, not legal advice', and human review by a registered practitioner is mandatory — all of which change how an agent should present results. Annotations only say readOnlyHint=false/destructiveHint=false, so disclosure of the auth requirement and the draft/review caveat is genuinely additive. It still doesn't say whether the analysis is persisted to the intake or returned only, which matters given readOnlyHint=false.

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 short sentences, front-loaded with what the tool produces and followed by the operating constraints (API key, draft status, review requirement). Each sentence earns its place; only the attorney-review boilerplate is near-redundant with the 'not legal advice' clause.

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 correctly spends a sentence characterizing the return ('drafts only, not legal advice') and flags the review gate. Combined with a fully documented nested parameter, an agent has enough to call it and interpret results, though the exact shape of the returned element list and whether it is written back to the intake remain unspecified.

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 100% and the single nested `intake` parameter is documented in detail (required keys, enum-like values, pointer to get_intake_schema and validate_intake). The description itself adds no parameter meaning, so the baseline of 3 applies — the schema, not the prose, does the work here.

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 a concrete resource set: 'List the invention's key elements, alternatives and open gaps from an intake.' The clause 'before search or drafting' situates it in the workflow, though it never names the sibling it supersedes (e.g. validate_intake, plan_search), so differentiation is positional rather than explicit.

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 a clear trigger (an intake exists) and a clear sequence constraint ('so the user can confirm them before search or drafting'), which tells the agent not to jump straight to search/drafting. It stops short of explicit exclusions or naming alternatives; the pointer to validate_intake first lives only in the schema, not the description.

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.