Skip to main content
Glama

people.people.updateContactPhoto

Updates a contact's photo by applying a JSON UpdateContactPhotoRequest with photo bytes, person fields, and sources to the specified person resource.

Instructions

Update a contact's photo. Mutate requests for the same user should be sent sequentially to avoid increased latency and failures [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON UpdateContactPhotoRequest object accepting personFields, photoBytes, sources; pass it via params or whole via body_file Siblings over the same resource: batchCreateContacts, batchDeleteContacts, batchUpdateContacts, createContact, deleteContact, deleteContactPhoto, get, getBatchGet, listDirectoryPeople, searchContacts, searchDirectoryPeople, updateContact.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON UpdateContactPhotoRequest object.
request_bodyNoRequest body of type UpdateContactPhotoRequest: pass it via `params` (merged into the built body) or whole via `body_file`.
resourceNameYes[URL path segment] Required. Person resource name

Output Schema

NameRequiredDescriptionDefault
personNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body_file / description
      Previous value: -"Read the request body from this file ('-' for stdin) instead of building one from the parameters."New value: +"Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON UpdateContactPhotoRequest object."
    • addedInput schema / properties / request_body
      Added value: +{
      +  "description": "Request body of type UpdateContactPhotoRequest: pass it via `params` (merged into the built body) or whole via `body_file`.",
      +  "properties": {
      +    "personFields": {
      +      "type": "string"
      +    },
      +    "photoBytes": {
      +      "type": "string"
      +    },
      +    "sources": {
      +      "items": {
      +        "enum": [
      +          "READ_SOURCE_TYPE_UNSPECIFIED",
      +          "READ_SOURCE_TYPE_PROFILE",
      +          "READ_SOURCE_TYPE_CONTACT",
      +          "READ_SOURCE_TYPE_DOMAIN_CONTACT",
      +          "READ_SOURCE_TYPE_OTHER_CONTACT"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / resourceName / description
      Previous value: -"Required. Person resource name"New value: +"[URL path segment] Required. Person resource name"
    • addedInput schema / properties / resourceName / pattern
      Added value: +"^people/[^/]+$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "person": {
      +      "properties": {
      +        "addresses": {
      +          "items": {
      +            "properties": {
      +              "city": {
      +                "type": "string"
      +              },
      +              "country": {
      +                "type": "string"
      +              },
      +              "countryCode": {
      +                "type": "string"
      +              },
      +              "extendedAddress": {
      +                "type": "string"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "formattedValue": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "poBox": {
      +                "type": "string"
      +              },
      +              "postalCode": {
      +                "type": "string"
      +              },
      +              "region": {
      +                "type": "string"
      +              },
      +              "streetAddress": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "ageRange": {
      +          "enum": [
      +            "AGE_RANGE_UNSPECIFIED",
      +            "LESS_THAN_EIGHTEEN",
      +            "EIGHTEEN_TO_TWENTY",
      +            "TWENTY_ONE_OR_OLDER"
      +          ],
      +          "type": "string"
      +        },
      +        "ageRanges": {
      +          "items": {
      +            "properties": {
      +              "ageRange": {
      +                "enum": [
      +                  "AGE_RANGE_UNSPECIFIED",
      +                  "LESS_THAN_EIGHTEEN",
      +                  "EIGHTEEN_TO_TWENTY",
      +                  "TWENTY_ONE_OR_OLDER"
      +                ],
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "biographies": {
      +          "items": {
      +            "properties": {
      +              "contentType": {
      +                "enum": [
      +                  "CONTENT_TYPE_UNSPECIFIED",
      +                  "TEXT_PLAIN",
      +                  "TEXT_HTML"
      +                ],
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "birthdays": {
      +          "items": {
      +            "properties": {
      +              "date": {
      +                "properties": {
      +                  "day": {
      +                    "type": "integer"
      +                  },
      +                  "month": {
      +                    "type": "integer"
      +                  },
      +                  "year": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "text": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "braggingRights": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "calendarUrls": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "clientData": {
      +          "items": {
      +            "properties": {
      +              "key": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "coverPhotos": {
      +          "items": {
      +            "properties": {
      +              "default": {
      +                "type": "boolean"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "emailAddresses": {
      +          "items": {
      +            "properties": {
      +              "displayName": {
      +                "type": "string"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "etag": {
      +          "type": "string"
      +        },
      +        "events": {
      +          "items": {
      +            "properties": {
      +              "date": {
      +                "properties": {
      +                  "day": {
      +                    "type": "integer"
      +                  },
      +                  "month": {
      +                    "type": "integer"
      +                  },
      +                  "year": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "externalIds": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "fileAses": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "genders": {
      +          "items": {
      +            "properties": {
      +              "addressMeAs": {
      +                "type": "string"
      +              },
      +              "formattedValue": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "imClients": {
      +          "items": {
      +            "properties": {
      +              "formattedProtocol": {
      +                "type": "string"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "protocol": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "username": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "interests": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "locales": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "locations": {
      +          "items": {
      +            "properties": {
      +              "buildingId": {
      +                "type": "string"
      +              },
      +              "current": {
      +                "type": "boolean"
      +              },
      +              "deskCode": {
      +                "type": "string"
      +              },
      +              "floor": {
      +                "type": "string"
      +              },
      +              "floorSection": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "memberships": {
      +          "items": {
      +            "properties": {
      +              "contactGroupMembership": {
      +                "properties": {
      +                  "contactGroupId": {
      +                    "type": "string"
      +                  },
      +                  "contactGroupResourceName": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "domainMembership": {
      +                "properties": {
      +                  "inViewerDomain": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "metadata": {
      +          "properties": {
      +            "deleted": {
      +              "type": "boolean"
      +            },
      +            "linkedPeopleResourceNames": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "objectType": {
      +              "enum": [
      +                "OBJECT_TYPE_UNSPECIFIED",
      +                "PERSON",
      +                "PAGE"
      +              ],
      +              "type": "string"
      +            },
      +            "previousResourceNames": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "sources": {
      +              "items": {
      +                "properties": {
      +                  "etag": {
      +                    "type": "string"
      +                  },
      +                  "id": {
      +                    "type": "string"
      +                  },
      +                  "profileMetadata": {
      +                    "type": "object"
      +                  },
      +                  "type": {
      +                    "enum": [
      +                      "SOURCE_TYPE_UNSPECIFIED",
      +                      "ACCOUNT",
      +                      "PROFILE",
      +                      "DOMAIN_PROFILE",
      +                      "CONTACT",
      +                      "OTHER_CONTACT",
      +                      "DOMAIN_CONTACT"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "updateTime": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "miscKeywords": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "enum": [
      +                  "TYPE_UNSPECIFIED",
      +                  "OUTLOOK_BILLING_INFORMATION",
      +                  "OUTLOOK_DIRECTORY_SERVER",
      +                  "OUTLOOK_KEYWORD",
      +                  "OUTLOOK_MILEAGE",
      +                  "OUTLOOK_PRIORITY",
      +                  "OUTLOOK_SENSITIVITY",
      +                  "OUTLOOK_SUBJECT",
      +                  "OUTLOOK_USER",
      +                  "HOME",
      +                  "WORK",
      +                  "OTHER"
      +                ],
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "names": {
      +          "items": {
      +            "properties": {
      +              "displayName": {
      +                "type": "string"
      +              },
      +              "displayNameLastFirst": {
      +                "type": "string"
      +              },
      +              "familyName": {
      +                "type": "string"
      +              },
      +              "givenName": {
      +                "type": "string"
      +              },
      +              "honorificPrefix": {
      +                "type": "string"
      +              },
      +              "honorificSuffix": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "middleName": {
      +                "type": "string"
      +              },
      +              "phoneticFamilyName": {
      +                "type": "string"
      +              },
      +              "phoneticFullName": {
      +                "type": "string"
      +              },
      +              "phoneticGivenName": {
      +                "type": "string"
      +              },
      +              "phoneticHonorificPrefix": {
      +                "type": "string"
      +              },
      +              "phoneticHonorificSuffix": {
      +                "type": "string"
      +              },
      +              "phoneticMiddleName": {
      +                "type": "string"
      +              },
      +              "unstructuredName": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "nicknames": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "enum": [
      +                  "DEFAULT",
      +                  "MAIDEN_NAME",
      +                  "INITIALS",
      +                  "GPLUS",
      +                  "OTHER_NAME",
      +                  "ALTERNATE_NAME",
      +                  "SHORT_NAME"
      +                ],
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "occupations": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "organizations": {
      +          "items": {
      +            "properties": {
      +              "costCenter": {
      +                "type": "string"
      +              },
      +              "current": {
      +                "type": "boolean"
      +              },
      +              "department": {
      +                "type": "string"
      +              },
      +              "domain": {
      +                "type": "string"
      +              },
      +              "endDate": {
      +                "properties": {
      +                  "day": {
      +                    "type": "integer"
      +                  },
      +                  "month": {
      +                    "type": "integer"
      +                  },
      +                  "year": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "fullTimeEquivalentMillipercent": {
      +                "type": "integer"
      +              },
      +              "jobDescription": {
      +                "type": "string"
      +              },
      +              "location": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "phoneticName": {
      +                "type": "string"
      +              },
      +              "startDate": {
      +                "properties": {
      +                  "day": {
      +                    "type": "integer"
      +                  },
      +                  "month": {
      +                    "type": "integer"
      +                  },
      +                  "year": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "symbol": {
      +                "type": "string"
      +              },
      +              "title": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "phoneNumbers": {
      +          "items": {
      +            "properties": {
      +              "canonicalForm": {
      +                "type": "string"
      +              },
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "photos": {
      +          "items": {
      +            "properties": {
      +              "default": {
      +                "type": "boolean"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "relations": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "person": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "relationshipInterests": {
      +          "items": {
      +            "properties": {
      +              "formattedValue": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "relationshipStatuses": {
      +          "items": {
      +            "properties": {
      +              "formattedValue": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "residences": {
      +          "items": {
      +            "properties": {
      +              "current": {
      +                "type": "boolean"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "resourceName": {
      +          "type": "string"
      +        },
      +        "sipAddresses": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "skills": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "taglines": {
      +          "items": {
      +            "properties": {
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "urls": {
      +          "items": {
      +            "properties": {
      +              "formattedType": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "userDefined": {
      +          "items": {
      +            "properties": {
      +              "key": {
      +                "type": "string"
      +              },
      +              "metadata": {
      +                "properties": {
      +                  "primary": {
      +                    "type": "boolean"
      +                  },
      +                  "source": {
      +                    "type": "object"
      +                  },
      +                  "sourcePrimary": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "value": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it states this is a mutating PATCH operation, that it is refused under readonly safety profiles, that same-user mutations should be sequential to avoid latency/failures, and that it returns the API response as JSON. Remaining gaps include permission/scoping details and exact photo replacement semantics.

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?

The description is front-loaded with the core purpose and then adds usage and body details. It is somewhat dense and includes a long sibling-tool list that is not strictly necessary, but overall it remains readable and structured.

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?

Given that an output schema exists and the input schema is fully described, the description supplies the important missing context: mutation behavior, readonly refusal, sequential request guidance, and body-passing options. It could be more complete with permission requirements or exact photo replacement semantics, but it is adequate for correct invocation.

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%, so the schema already documents all parameters. The description adds useful routing information about passing UpdateContactPhotoRequest fields via `params` or `body_file`, but it largely restates what the schema provides.

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?

The description states a specific verb and resource: 'Update a contact's photo.' It names the sibling tools over the same resource, but it does not explain how this operation differs from siblings like updateContact or deleteContactPhoto, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives some usage context: mutation requests for the same user should be sent sequentially, and the operation is refused under --readonly profiles. However, it does not explicitly say when to choose this tool versus similar siblings such as deleteContactPhoto or updateContact.

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

Deploy Server

Other Tools