Get document
get_documentRead the saved project document. document is null when none has been saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectUid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |
get_documentRead the saved project document. document is null when none has been saved.
| Name | Required | Description | Default |
|---|---|---|---|
| projectUid | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |
Changes observed during successful MCP inspections.
Output schema / properties / document / anyOfPrevious value: -[
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "type": "string"
- },
- "createdAt": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "projectContentHash": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "uid": {
- "type": "string"
- },
- "updatedAt": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "uid",
- "title",
- "content",
- "projectContentHash",
- "createdAt",
- "updatedAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "projectContentHash": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "uid": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "uid",
+ "title",
+ "content",
+ "projectContentHash",
+ "createdAt",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that document is null when nothing has been saved — which pre-empts a confusing empty result. It says nothing about permissions or size/format of the returned document, so it is incremental rather than rich.
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?
Two short sentences with the action front-loaded and the null-result caveat second. No filler, though the second sentence could be folded in without loss.
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?
An output schema exists, so return-value documentation is not required, and the null case is flagged. However, for a tool requiring an identifier, the description leaves the agent with no hint about sourcing projectUid, which is the main gap in an otherwise simple getter.
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?
Schema description coverage is 0% and the sole parameter projectUid is undocumented in both schema and description. The description does not explain what a projectUid is, where to obtain one, or whether it can come from list_projects/get_project, so it fails to compensate for the coverage gap.
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 states a specific verb and resource ('Read the saved project document'), which contrasts implicitly with siblings like save_document and generate_document. It never names those alternatives, but the read-only framing makes the purpose unambiguous.
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?
Usage is only implied: an agent can infer this is the way to fetch an already-saved document rather than generating one. There is no explicit statement of when to prefer this over generate_document or get_project, and no prerequisite or exclusion guidance.
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.