Skip to main content
Glama

mcp-run-python

Official
by pydantic
test_complex_agent_run.yaml50.5 kB
interactions: - request: headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '4294' content-type: - application/json host: - api.openai.com method: POST parsed_body: messages: - content: 'Tell me: the capital of the country; the weather there; the product name' role: user model: gpt-4o stream: true stream_options: include_usage: true tool_choice: required tools: - function: description: '' name: get_weather parameters: additionalProperties: false properties: city: type: string required: - city type: object strict: true type: function - function: description: '' name: get_country parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Convert Celsius to Fahrenheit.\n\n Args:\n celsius: Temperature in Celsius\n\n Returns:\n \ Temperature in Fahrenheit\n " name: celsius_to_fahrenheit parameters: additionalProperties: false properties: celsius: type: number required: - celsius type: object strict: true type: function - function: description: "Get the weather forecast for a location.\n\n Args:\n location: The location to get the weather forecast for.\n\n Returns:\n The weather forecast for the location.\n " name: get_weather_forecast parameters: additionalProperties: false properties: location: type: string required: - location type: object strict: true type: function - function: description: '' name: get_image_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_dict parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_error parameters: additionalProperties: false properties: value: default: false type: boolean type: object type: function - function: description: '' name: get_none parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_multiple_items parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Get the current log level.\n\n Returns:\n The current log level.\n " name: get_log_level parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Echo the run context.\n\n Args:\n ctx: Context object containing request and session information.\n\n \ Returns:\n Dictionary with an echo message and the deps.\n " name: echo_deps parameters: additionalProperties: false properties: {} type: object type: function - function: description: Use sampling callback. name: use_sampling parameters: additionalProperties: false properties: foo: type: string required: - foo type: object strict: true type: function - function: description: The final response which ends this conversation name: final_result parameters: $defs: Answer: additionalProperties: false properties: answer: type: string label: type: string required: - label - answer type: object additionalProperties: false properties: answers: items: $ref: '#/$defs/Answer' type: array required: - answers type: object strict: true type: function uri: https://api.openai.com/v1/chat/completions response: body: string: |+ data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","usage":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"obfuscation":"3Y6yaTIPlXV"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_q2UyBRP7eXNTzAoR8lEhjc9Z","type":"function","function":{"name":"get_country","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"g7emiFlCcG"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"S8ct"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_b51ijcpFkDiTQG1bQzsrmtW5","type":"function","function":{"name":"get_product_name","arguments":""}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"uomn5"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","usage":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{}"}}]},"logprobs":null,"finish_reason":null}],"obfuscation":"yrJZ"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"onPp"} data: {"id":"chatcmpl-C2QD1kGWsTW5OWiqAtOSFEAOfPfQH","object":"chat.completion.chunk","created":1754693439,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[],"usage":{"prompt_tokens":364,"completion_tokens":40,"total_tokens":404,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"F1wZCrV0lEsbu"} data: [DONE] headers: access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 connection: - keep-alive content-type: - text/event-stream; charset=utf-8 openai-organization: - pydantic-28gund openai-processing-ms: - '906' openai-project: - proj_dKobscVY9YJxeEaDJen54e3d openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: - chunked status: code: 200 message: OK - request: headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '4720' content-type: - application/json cookie: - __cf_bm=zft6YwMMTPDlJv9nFzcyqjatDLWL51IWoXRjiBo8lxg-1754693440-1.0.1.1-FT8HyZDjEEZIx76hp4IYd2Ke6ga_YHmugNrkwXCbkPQJM7bAIax9kMz_DGNsvY5gt.sE2g60Jc0zEEp43vK95vUKIk62fCzcc3i.7eygET0; _cfuvid=I3WeF5lZoAzwC31zFIarQCYAjRSXcSCKQ0Z8Szv00_0-1754693440668-0.0.1.1-604800000 host: - api.openai.com method: POST parsed_body: messages: - content: 'Tell me: the capital of the country; the weather there; the product name' role: user - role: assistant tool_calls: - function: arguments: '{}' name: get_country id: call_q2UyBRP7eXNTzAoR8lEhjc9Z type: function - function: arguments: '{}' name: get_product_name id: call_b51ijcpFkDiTQG1bQzsrmtW5 type: function - content: Mexico role: tool tool_call_id: call_q2UyBRP7eXNTzAoR8lEhjc9Z - content: Pydantic AI role: tool tool_call_id: call_b51ijcpFkDiTQG1bQzsrmtW5 model: gpt-4o stream: true stream_options: include_usage: true tool_choice: required tools: - function: description: '' name: get_weather parameters: additionalProperties: false properties: city: type: string required: - city type: object strict: true type: function - function: description: '' name: get_country parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Convert Celsius to Fahrenheit.\n\n Args:\n celsius: Temperature in Celsius\n\n Returns:\n \ Temperature in Fahrenheit\n " name: celsius_to_fahrenheit parameters: additionalProperties: false properties: celsius: type: number required: - celsius type: object strict: true type: function - function: description: "Get the weather forecast for a location.\n\n Args:\n location: The location to get the weather forecast for.\n\n Returns:\n The weather forecast for the location.\n " name: get_weather_forecast parameters: additionalProperties: false properties: location: type: string required: - location type: object strict: true type: function - function: description: '' name: get_image_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_dict parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_error parameters: additionalProperties: false properties: value: default: false type: boolean type: object type: function - function: description: '' name: get_none parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_multiple_items parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Get the current log level.\n\n Returns:\n The current log level.\n " name: get_log_level parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Echo the run context.\n\n Args:\n ctx: Context object containing request and session information.\n\n \ Returns:\n Dictionary with an echo message and the deps.\n " name: echo_deps parameters: additionalProperties: false properties: {} type: object type: function - function: description: Use sampling callback. name: use_sampling parameters: additionalProperties: false properties: foo: type: string required: - foo type: object strict: true type: function - function: description: The final response which ends this conversation name: final_result parameters: $defs: Answer: additionalProperties: false properties: answer: type: string label: type: string required: - label - answer type: object additionalProperties: false properties: answers: items: $ref: '#/$defs/Answer' type: array required: - answers type: object strict: true type: function uri: https://api.openai.com/v1/chat/completions response: body: string: |+ data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_LwxJUB9KppVyogRRLQsamRJv","type":"function","function":{"name":"get_weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"NA5VZTdCK"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"MYr"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"city"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"N0"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"S"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Mexico"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" City"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"P"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"FLs"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"d0LO"} data: {"id":"chatcmpl-C2QD2NQfRbWW5ww5we2oDjS1mgHtK","object":"chat.completion.chunk","created":1754693440,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[],"usage":{"prompt_tokens":423,"completion_tokens":15,"total_tokens":438,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"o9nP5OYjURlfY"} data: [DONE] headers: access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 connection: - keep-alive content-type: - text/event-stream; charset=utf-8 openai-organization: - pydantic-28gund openai-processing-ms: - '379' openai-project: - proj_dKobscVY9YJxeEaDJen54e3d openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: - chunked status: code: 200 message: OK - request: headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '4969' content-type: - application/json cookie: - __cf_bm=zft6YwMMTPDlJv9nFzcyqjatDLWL51IWoXRjiBo8lxg-1754693440-1.0.1.1-FT8HyZDjEEZIx76hp4IYd2Ke6ga_YHmugNrkwXCbkPQJM7bAIax9kMz_DGNsvY5gt.sE2g60Jc0zEEp43vK95vUKIk62fCzcc3i.7eygET0; _cfuvid=I3WeF5lZoAzwC31zFIarQCYAjRSXcSCKQ0Z8Szv00_0-1754693440668-0.0.1.1-604800000 host: - api.openai.com method: POST parsed_body: messages: - content: 'Tell me: the capital of the country; the weather there; the product name' role: user - role: assistant tool_calls: - function: arguments: '{}' name: get_country id: call_q2UyBRP7eXNTzAoR8lEhjc9Z type: function - function: arguments: '{}' name: get_product_name id: call_b51ijcpFkDiTQG1bQzsrmtW5 type: function - content: Mexico role: tool tool_call_id: call_q2UyBRP7eXNTzAoR8lEhjc9Z - content: Pydantic AI role: tool tool_call_id: call_b51ijcpFkDiTQG1bQzsrmtW5 - role: assistant tool_calls: - function: arguments: '{"city":"Mexico City"}' name: get_weather id: call_LwxJUB9KppVyogRRLQsamRJv type: function - content: sunny role: tool tool_call_id: call_LwxJUB9KppVyogRRLQsamRJv model: gpt-4o stream: true stream_options: include_usage: true tool_choice: required tools: - function: description: '' name: get_weather parameters: additionalProperties: false properties: city: type: string required: - city type: object strict: true type: function - function: description: '' name: get_country parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Convert Celsius to Fahrenheit.\n\n Args:\n celsius: Temperature in Celsius\n\n Returns:\n \ Temperature in Fahrenheit\n " name: celsius_to_fahrenheit parameters: additionalProperties: false properties: celsius: type: number required: - celsius type: object strict: true type: function - function: description: "Get the weather forecast for a location.\n\n Args:\n location: The location to get the weather forecast for.\n\n Returns:\n The weather forecast for the location.\n " name: get_weather_forecast parameters: additionalProperties: false properties: location: type: string required: - location type: object strict: true type: function - function: description: '' name: get_image_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_audio_resource_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_product_name_link parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_image parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_dict parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_error parameters: additionalProperties: false properties: value: default: false type: boolean type: object type: function - function: description: '' name: get_none parameters: additionalProperties: false properties: {} type: object type: function - function: description: '' name: get_multiple_items parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Get the current log level.\n\n Returns:\n The current log level.\n " name: get_log_level parameters: additionalProperties: false properties: {} type: object type: function - function: description: "Echo the run context.\n\n Args:\n ctx: Context object containing request and session information.\n\n \ Returns:\n Dictionary with an echo message and the deps.\n " name: echo_deps parameters: additionalProperties: false properties: {} type: object type: function - function: description: Use sampling callback. name: use_sampling parameters: additionalProperties: false properties: foo: type: string required: - foo type: object strict: true type: function - function: description: The final response which ends this conversation name: final_result parameters: $defs: Answer: additionalProperties: false properties: answer: type: string label: type: string required: - label - answer type: object additionalProperties: false properties: answers: items: $ref: '#/$defs/Answer' type: array required: - answers type: object strict: true type: function uri: https://api.openai.com/v1/chat/completions response: body: string: |+ data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_CCGIWaMeYWmxOQ91orkmTvzn","type":"function","function":{"name":"final_result","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"3HGTeJmv"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5oT"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"answers"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Bkpoehp1mPtgpuo"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":["}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"XR"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"OrV"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"label"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"p"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"r"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Capital"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"hPFa7nYTy1kqfHY"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"x"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"answer"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"1"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"The"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Dfa"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" capital"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"uoFfXckIZzkxsw"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" of"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"4Iq"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Mexico"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"0YTqpF2Qa9jYzl0"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" is"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"jh5"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Mexico"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"rbLc3P4VrYs4CjM"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" City"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Vu2"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"},{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"i"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"label"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"2"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"G"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Weather"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"G4dA7nClk85oh1y"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Q"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"answer"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"I"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"The"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"i98"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" weather"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"vXmI31omHBLPWx"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" in"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"8Z7"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Mexico"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"O2h4Rnr8tNEmqNy"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" City"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"8"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" is"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dS8"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" currently"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"PaxQJe8HpcFV"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" sunny"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"oZX"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"},{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"x"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"label"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"J"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"s"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Product"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zHxJUlHIGtbB0wY"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" Name"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"l"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"b"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"answer"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"j"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"The"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"TlE"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" product"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"10zmpKfDgdH40s"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" name"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"t"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" is"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"YN8"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" P"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Cy29"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"yd"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"skZD"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"antic"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"q"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" AI"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"be9"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":".\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5y4"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"IH76k"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"]}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"5HnB"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"P7V8"} data: {"id":"chatcmpl-C2QD4vblfNcSDeoXmULJR4umoKNqY","object":"chat.completion.chunk","created":1754693442,"model":"gpt-4o-2024-08-06","service_tier":"default","system_fingerprint":"fp_07871e2ad8","choices":[],"usage":{"prompt_tokens":448,"completion_tokens":62,"total_tokens":510,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"dRC1SdJDw80tk"} data: [DONE] headers: access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 connection: - keep-alive content-type: - text/event-stream; charset=utf-8 openai-organization: - pydantic-28gund openai-processing-ms: - '482' openai-project: - proj_dKobscVY9YJxeEaDJen54e3d openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: - chunked status: code: 200 message: OK version: 1 ...

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pydantic/pydantic-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server